cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A059180 Engel expansion of log(2).

Original entry on oeis.org

2, 3, 7, 9, 104, 510, 1413, 2386, 40447, 87110, 124975, 1565154, 1766158, 2440919, 2637001, 9192874, 24998746, 73973182, 88828340, 432049320, 470421590, 477600793, 3313014448, 4571423959, 28839435286, 40818751774
Offset: 1

Views

Author

Keywords

Comments

See A006784 for the definition of Engel expansion.

References

  • F. Engel, Entwicklung der Zahlen nach Stammbruechen, Verhandlungen der 52. Versammlung deutscher Philologen und Schulmaenner in Marburg, 1913, pp. 190-191.

Crossrefs

Cf. A002162 (decimal expansion of the natural logarithm of 2).

Programs

  • Mathematica
    EngelExp[A_, n_] := Join[Array[1 &, Floor[A]], First@Transpose@
    NestList[{Ceiling[1/Expand[#[[1]] #[[2]] - 1]], Expand[#[[1]] #[[2]] - 1]/1} &, {Ceiling[1/(A - Floor[A])], (A - Floor[A])/1}, n - 1]];
    EngelExp[N[Log[2], 7!], 100] (* Modified by G. C. Greubel, Dec 27 2016 *)