OFFSET
1,1
COMMENTS
Numbers x such that 1 + Sum_{k=1..n} 2^(2k-1) is prime for n=1,2,...,x gives A127936.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
a = {}; Do[If[PrimeQ[1 + Sum[2^(2n - 1), {n, 1, x}]] == False, AppendTo[a, x]], {x, 1, 1000}]; a
PROG
(PARI) isok(x) = !isprime(1+sum(k=1, x, 2^(2*k-1))); \\ Michel Marcus, May 09 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Feb 09 2007
STATUS
approved