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”).

A081296
Primes of the form 2^k - k.
10
2, 5, 503, 8179, 524269, 2097131, 36028797018963913, 3705346855594118253554271520278013051304639509300498049262642688253220148477691
OFFSET
1,1
COMMENTS
Primes in A000325.
The corresponding k are given in A048744.
Next term a(9) contains roughly 1000 digits and is too large to include. - R. J. Mathar, Jul 15 2007
FORMULA
a(n) = 2^A048744(n) - A048744(n). - R. J. Mathar, Jul 22 2009
MATHEMATICA
Select[Table[2^n-n, {n, 300}], PrimeQ] (* Harvey P. Dale, Nov 24 2018 *)
PROG
(PARI) { for(k=1, 100000, if(isprime(2^k-k), print1(2^k-k, ", "))); } \\ R. J. Mathar, Jul 15 2007
CROSSREFS
Cf. A048744 (k such that 2^k - k is prime).
Sequence in context: A208211 A138696 A163798 * A133378 A283561 A037063
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 20 2003
EXTENSIONS
More terms from R. J. Mathar, Jul 15 2007
STATUS
approved