|
|
A080176
|
|
Generalized Fermat numbers: 10^(2^n) + 1, n >= 0.
|
|
14
|
|
|
|
OFFSET
|
0,1
|
|
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).
|
|
LINKS
|
|
|
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
|
|
EXAMPLE
|
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.
|
|
MATHEMATICA
|
|
|
PROG
|
|
|
CROSSREFS
|
Cf. A000215 (Fermat numbers: 2^(2^n) + 1, n >= 0).
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|