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.

A033151 Continued fraction for Niven's constant.

Original entry on oeis.org

1, 1, 2, 2, 1, 1, 4, 1, 1, 3, 4, 4, 8, 4, 1, 1, 2, 1, 1, 11, 1, 4, 2, 2, 1, 2, 1, 2, 2, 2, 1, 1, 1, 7, 14, 2, 1, 13, 2, 1, 6, 2, 3, 1, 1, 1, 5, 2, 2, 8, 29, 1, 6, 1, 18, 1, 3, 2, 1, 5, 1, 1, 1, 18, 1, 3, 1, 372, 3, 3, 1, 47, 2, 1, 6, 1, 5, 1, 4, 1, 2, 4, 2, 2, 1, 1, 2, 7, 1, 7, 1, 14, 6, 5, 1, 559, 1
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A033150 (decimal expansion).

Programs

  • Mathematica
    rd[n_] := rd[n] = RealDigits[ N[1 + Sum[1 - 1/Zeta[j], {j, 2, 2^n}], 105]][[1]]; rd[n = 4]; While[rd[n] =!= rd[n - 1], n++]; Niven = FromDigits[{rd[n], 1}]; ContinuedFraction[Niven, 100] (* Jean-François Alcover, Oct 30 2012 *)

Extensions

Offset changed by Andrew Howroyd, Jul 04 2024