login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158848 Prime numbers p where 2^k-p is prime, with k>6 and minimal. 2

%I #22 Jan 24 2023 14:40:17

%S 67,97,109,149,167,173,197,227,233,239,251,271,283,313,331,349,373,

%T 409,433,439,499,509,521,557,563,593,641,677,743,761,773,797,827,857,

%U 887,911,941,953,971,977,983,1013,1019,1021,1039,1051,1129,1171,1237,1279,1291,1297,1321

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

%C These are the primes removed according to algorithm of A156284 beginning with m=7.

%C Powers 2^m, m>=7, are not expressible as sums of two primes which are not in the sequence.

%H Bill McEachen, <a href="/A158848/b158848.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A086081(n+11). - _Bill McEachen_, Jan 22 2023

%o (PARI) isok(p) = if (isprime(p), my(k=ceil(log(p)/log(2))); (k >= 7) && isprime(2^k-p)); \\ _Michel Marcus_, Jan 22 2023

%Y Cf. A152451, A156284, A158756, A158759, A158846, A158847, A086081.

%K nonn

%O 1,1

%A _Vladimir Shevelev_, Mar 28 2009

%E Missing terms 773, 797, 827, 857 added by _Michel Marcus_, Jan 23 2023

%E New name from _Bill McEachen_, Jan 22 2023

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)