OFFSET
1,4
COMMENTS
a(23) > 10^4. - Zak Seidov, Jan 24 2017
a(23) > 30000 (if it exists). - Pontus von Brömssen, Jan 08 2023
FORMULA
EXAMPLE
a(10) = 4 because A033875(10) = 31, 31 + 2^4 = 47, which is prime.
MATHEMATICA
p = 2; n = 0; While[true, x = 0; While[ ! PrimeQ[p + 2^x], x++ ]; p = p + 2^x; Print[x]; n++ ]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Johan Särnbratt, May 22 2008
STATUS
approved