cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A158848 Prime numbers p where 2^k-p is prime, with k>6 and minimal.

Original entry on oeis.org

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

Views

Author

Vladimir Shevelev, Mar 28 2009

Keywords

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.

Crossrefs

Programs

  • PARI
    isok(p) = if (isprime(p), my(k=ceil(log(p)/log(2))); (k >= 7) && isprime(2^k-p)); \\ Michel Marcus, Jan 22 2023

Formula

a(n) = A086081(n+11). - Bill McEachen, Jan 22 2023

Extensions

Missing terms 773, 797, 827, 857 added by Michel Marcus, Jan 23 2023
New name from Bill McEachen, Jan 22 2023