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.

A112323 a(n) = numerator of sum of reciprocals of the terms of the continued fraction for prime(n+1)/prime(n).

Original entry on oeis.org

3, 5, 2, 10, 17, 19, 13, 31, 38, 11, 41, 49, 31, 73, 82, 93, 89, 19, 115, 107, 5, 136, 148, 107, 31, 38, 178, 161, 139, 67, 220, 236, 103, 256, 56, 181, 47, 283, 302, 313, 269, 52, 287, 61, 74, 65, 69, 388, 341, 289, 423, 359, 137, 456, 467, 478, 101, 107, 349, 211
Offset: 1

Views

Author

Leroy Quet, Sep 03 2005

Keywords

Examples

			prime(6)/prime(5) = 13/11 = 1 + 1/(5 + 1/2).
So a(5) is 17, the numerator of 17/10 = 1 + 1/5 + 1/2.
		

Crossrefs

Programs

  • Mathematica
    f[n_] := Plus @@ (1/# &) /@ ContinuedFraction[Prime[n + 1]/Prime[n]]; Table[Numerator[f[n]], {n, 60}] (* Ray Chandler, Sep 07 2005 *)

Extensions

Extended by Ray Chandler, Sep 07 2005