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.

A080176 Generalized Fermat numbers: 10^(2^n) + 1, n >= 0.

Original entry on oeis.org

11, 101, 10001, 100000001, 10000000000000001, 100000000000000000000000000000001, 10000000000000000000000000000000000000000000000000000000000000001
Offset: 0

Views

Author

Jens Voß, Feb 04 2003

Keywords

Comments

As for standard Fermat numbers 2^(2^n) + 1, a number (2b)^m + 1 (with b > 1) can only be prime if m is a power of 2. On the other hand, out of the first 12 base-10 Fermat numbers, only the first two are primes.
Also, binary representation of Fermat numbers (in decimal, see A000215).

Examples

			a(0) = 10^1 + 1 = 11 = 9*(1) + 2 = 9*(empty product) + 2.
a(1) = 10^2 + 1 = 101 = 9*(11) + 2.
a(2) = 10^4 + 1 = 10001 = 9*(11*101) + 2.
a(3) = 10^8 + 1 = 100000001 = 9*(11*101*10001) + 2.
a(4) = 10^16 + 1 = 10000000000000001 = 9*(11*101*10001*100000001) + 2.
a(5) = 10^32 + 1 = 100000000000000000000000000000001 = 9*(11*101*10001*100000001*10000000000000001) + 2.
		

Crossrefs

Cf. A000215 (Fermat numbers: 2^(2^n) + 1, n >= 0).

Programs

Formula

a(0) = 11; a(n) = (a(n - 1) - 1)^2 + 1.
a(n) = 9*a(n-1)*a(n-2)*...*a(1)*a(0) + 2, n >= 0, where for n = 0, we get 9*(empty product, i.e., 1)+ 2 = 11 = a(0). - Daniel Forgues, Jun 20 2011
Sum_{n>=0} 2^n/a(n) = 1/9. - Amiram Eldar, Oct 03 2022

Extensions

Edited by Daniel Forgues, Jun 19 2011