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!)
A181748 Twin primes not of the form p+2^k where p is prime and k>0. 1
3, 149, 599, 809, 1019, 1619, 2789, 2999, 3119, 3299, 3539, 4001, 4229, 4271, 4649, 5099, 6269, 6449, 6659, 6791, 6869, 7331, 7547, 8087, 8387, 8429, 8861, 9239, 9431, 9929, 10007, 11069, 11171, 11549, 12239, 12251, 13001, 13217, 13679, 13901, 14009, 14081, 14249 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
149 is a twin prime, 149-2^1 through 149-2^7 are all nonprime.
MATHEMATICA
seqQ[p_] := PrimeQ[p] && PrimeQ[p + 2] && Module[{k = 2}, While[k < p && !PrimeQ[p - k], k *= 2]; k > p]; Select[Range[10^4], seqQ] (* Amiram Eldar, Dec 24 2019 *)
CROSSREFS
Sequence in context: A003009 A037122 A213989 * A118840 A111816 A157555
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited and extended by D. S. McNeil, Nov 17 2010
More terms from Amiram Eldar, Dec 24 2019
STATUS
approved

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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)