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.

A159243 Number of elements in the continued fraction for Sum_{k=0..n} 1/(1+2^(2^k)).

Original entry on oeis.org

2, 4, 8, 15, 24, 41, 85, 159, 314, 651, 1267, 2496, 4977, 9889, 19731, 38945, 77356, 154693, 308051, 615768, 1229080, 2456328, 4908126, 9815038, 19620985, 39237465, 78466413, 156910438, 313788371, 627528817
Offset: 0

Views

Author

Keywords

Comments

Number of terms in the n-th partial sum of the Fermat number reciprocals.

Examples

			The partial sum for n = 3 (four terms) is: 1/3 + 1/5 + 1/17 + 1/257 = 39062/65535 expressed in continued fraction gives: {0,1,1,2,9,1,2,1,1,2,2,1,2,1,5} that has 15 elements so: a(3) = 15.
		

Crossrefs

Programs

  • Mathematica
    Table[Length[ContinuedFraction[Sum[1/(1 + 2^2^k), {k, 0, v}]]], {v, 0, 20}]

Extensions

Offset corrected and a(21)-a(29) added by Amiram Eldar, May 05 2024