OFFSET
2,10
COMMENTS
Does a(n) = 0 for some n?
LINKS
Giovanni Resta, Table of n, a(n) for n = 2..10000 (first 1999 terms from T. D. Noe)
MATHEMATICA
Table[c1 = 2^n; k = 1; While[c2 = 2^k; k < n && ! (PrimeQ[c1 + c2 + 1] || PrimeQ[c1 + c2 - 1] || PrimeQ[c1 - c2 + 1] || PrimeQ[c1 - c2 - 1]), k++]; If[k == n, 0, k], {n, 2, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Mar 17 2014
STATUS
approved