login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A159261
Primes of the form 1 + sum_{i=1..n} 2^prime[i] for some n.
2
5, 13, 173, 2111, 665773, 3142394278117397493736691789093238367784438314557856426157
OFFSET
1,1
COMMENTS
Primes whose binary representation has the 0 and prime bits set up to prime(n). The values of n are in A159260.
MATHEMATICA
s=1; Reap[Do[s=s+2^Prime[n]; If[PrimeQ[s], Sow[s]], {n, 50}]][[2, 1]]
CROSSREFS
Sequence in context: A336097 A187894 A214591 * A117077 A124924 A209271
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 07 2009
STATUS
approved