OFFSET
0,2
COMMENTS
After a(1) = 5, the next prime is a(6), which has 135 digits (base 10).
FORMULA
a(0) = 0, for positive n: a(n+1) = 1 + a(n)*2^(1+n^3).
EXAMPLE
a(1) = 5 because 101 (base 2) = 1 + 2^2 = 5 (base 10).
a(2) = 2561 because 101000000001 (base 2) = 1 + (1 + 2^2) * 2^9 = 2561 (base 10).
a(3) = 1 + (1 + (1 + 2^2) * 2^9) * 2^28.
a(4) = 1 + (1 + (1 + (1 + (2^2)) * (2^9)) * 2^28) * 2^65.
a(5) = 1 + (1 + (1 + (1 + (1 + (2^2)) * (2^9)) * 2^28) * 2^65) * 2^126.
a(6) = 1 + (1 + (1 + (1 + (1 + (1 + (2^2)) * (2^9)) * 2^28) * 2^65) * 2^126) * 2^217.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Apr 16 2006
STATUS
approved