|
|
A159260
|
|
Numbers k such that 1 + Sum_{i=1..k} 2^prime(i) is prime.
|
|
2
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
See A159261 for the primes produced by these n. See A159262 for prime(n), the largest exponent in the sum. The term 1903 produces a probable prime; smaller n produce provable primes. See A122035 for the reducibility of the polynomial obtained by replacing 2 by x.
|
|
LINKS
|
|
|
EXAMPLE
|
1 is here because 1 + 2^2 = 5 is prime.
2 is here because 1 + 2^2 + 2^3 = 13 is prime.
4 is here because 1 + 2^2 + 2^3 + 2^5 + 2^7 = 173 is prime.
5 is here because 1 + 2^2 + 2^3 + 2^5 + 2^7 + 2^11 = 2111 is prime.
|
|
MATHEMATICA
|
s=1; Reap[Do[s=s+2^Prime[n]; If[PrimeQ[s], Sow[n]], {n, 2000}]][[2, 1]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|