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.

A059187 Engel expansion of sqrt(Pi) = 1.77245... .

Original entry on oeis.org

1, 2, 2, 12, 13, 90, 121, 3457, 7372, 42530, 147081, 348753, 1185480, 17262610, 28408922, 87175278, 120293961, 344697955, 634418862, 3889219736, 8965899278, 9695659687, 18962955420, 27004920068, 67070581522
Offset: 1

Views

Author

Keywords

Comments

Cf. A006784 for 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. A002161 (sqrt(Pi)).

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[Sqrt[Pi], 7!], 100] (* Modified by G. C. Greubel, Dec 27 2016 *)