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.

A057213 Second term of continued fraction for exp(n).

Original entry on oeis.org

1, 2, 11, 1, 2, 2, 1, 1, 11, 2, 7, 1, 2, 3, 2, 1, 1, 7, 1, 2, 2, 7, 4, 1, 2, 1, 1, 2, 23, 2, 2, 1, 15, 1, 1, 4, 3, 4, 1, 2, 4, 2, 2, 1, 28, 7, 3, 2, 10, 2, 6, 1, 1, 2, 1, 6, 1, 1, 3, 3, 9, 26, 3, 1, 2, 16, 2, 2, 1, 8, 1, 2, 1, 1, 69, 1, 1, 2, 2, 1, 5, 3, 1, 2, 2, 1, 1, 1, 1, 1, 68, 1, 1, 1, 1, 1, 2
Offset: 1

Views

Author

Leroy Quet, Sep 29 2000

Keywords

Crossrefs

Cf. A138324.

Programs

  • Mathematica
    Table[ContinuedFraction[Exp[n],3][[2]],{n,100}] (* Harvey P. Dale, Nov 15 2014 *)
  • PARI
    default(realprecision, 10000);
    for(n=1, 10000, print(n, " ", contfrac(exp(n))[2]))
    \\ Eric M. Schmidt, Mar 05 2014

Formula

floor(1/(exp(n)-floor(exp(n))))