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.

A110020 Final term of the simple continued fraction for H(n), where H(n) = Sum_{k=1..n} 1/k.

Original entry on oeis.org

1, 2, 5, 12, 8, 2, 5, 7, 3, 2, 5, 4, 6, 13, 7, 2, 11, 15, 6, 2, 36, 13, 2, 6, 3, 7, 3, 4, 2, 9, 4, 2, 2, 2, 2, 2, 6, 5, 2, 3, 2, 2, 2, 2, 11, 3, 59, 8, 2, 4, 104, 103, 5, 6, 2, 2, 2, 59, 2, 2, 3, 9, 20, 4, 2, 3, 4, 3, 4, 2, 2, 2, 2, 2, 2, 4, 3, 4, 2, 3, 2, 37, 2, 49, 6, 2, 6, 10, 2, 4, 8, 15, 2, 2, 23, 2
Offset: 1

Views

Author

Leroy Quet, Sep 03 2005

Keywords

Examples

			H(5) = 137/60 = 2 + 1/(3 + 1/(1 + 1/(1 + 1/8))); a(5) is the final term, 8.
		

Crossrefs

m-th harmonic number H(m) = A001008(m)/A002805(m).

Programs

  • Mathematica
    Table[Last[ContinuedFraction[HarmonicNumber[n]]], {n, 100}] (* Ray Chandler, Sep 17 2005 *)

Extensions

Extended by Ray Chandler, Sep 17 2005