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.

A004249 a(n) = (2^2^...^2) (with n 2's) + 1.

Original entry on oeis.org

2, 3, 5, 17, 65537
Offset: 0

Views

Author

Keywords

Comments

a(0) could equally well be taken to be 1 rather than 2, which gives A007516. - N. J. A. Sloane, Sep 14 2009
A subsequence of the Fermat numbers 2^2^n + 1 = A000215.
a(0) through a(4) are primes; a(5) = 2^65536 + 1 is divisible by 825753601.
a(5) = 20035299...19156737 has 19729 decimal digits. - Alois P. Heinz, Jun 15 2022
It is unknown if a(6) = A000215(65536) is composite. - Jeppe Stig Nielsen, Jun 15 2022

References

  • P. Ribenboim, The Book of Prime Number Records. Springer-Verlag, NY, 2nd ed., 1989, p. 73.

Crossrefs

Cf. Fermat numbers 2^2^n + 1 = A000215. A007516 is another version.

Formula

a(0) = 2, a(n) = 2^a(n-1)/2 + 1 for n >= 1.
a(n) = A014221(n) + 1. - Leroy Quet, Jun 10 2009, updated by Jeppe Stig Nielsen, Jun 15 2022