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

A158848
Prime numbers p where 2^k-p is prime, with k>6 and minimal.
2
67, 97, 109, 149, 167, 173, 197, 227, 233, 239, 251, 271, 283, 313, 331, 349, 373, 409, 433, 439, 499, 509, 521, 557, 563, 593, 641, 677, 743, 761, 773, 797, 827, 857, 887, 911, 941, 953, 971, 977, 983, 1013, 1019, 1021, 1039, 1051, 1129, 1171, 1237, 1279, 1291, 1297, 1321
OFFSET
1,1
COMMENTS
These are the primes removed according to algorithm of A156284 beginning with m=7.
Powers 2^m, m>=7, are not expressible as sums of two primes which are not in the sequence.
LINKS
FORMULA
a(n) = A086081(n+11). - Bill McEachen, Jan 22 2023
PROG
(PARI) isok(p) = if (isprime(p), my(k=ceil(log(p)/log(2))); (k >= 7) && isprime(2^k-p)); \\ Michel Marcus, Jan 22 2023
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 28 2009
EXTENSIONS
Missing terms 773, 797, 827, 857 added by Michel Marcus, Jan 23 2023
New name from Bill McEachen, Jan 22 2023
STATUS
approved