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

 

Logo

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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078500 Primes occurring only twice in a decade. 2
23, 29, 31, 37, 53, 59, 61, 67, 83, 89, 151, 157, 163, 167, 173, 179, 233, 239, 251, 257, 263, 269, 271, 277, 281, 283, 331, 337, 347, 349, 353, 359, 373, 379, 383, 389, 401, 409, 443, 449, 491, 499, 503, 509, 521, 523, 541, 547, 563, 569, 571, 577, 593, 599 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Only 6 such primes will occur in the 21st century.
LINKS
MATHEMATICA
Select[Table[Prime[Range[PrimePi[n*10]+1, PrimePi[n*10+10]]], {n, 60}], Length[ #] == 2&]//Flatten (* Harvey P. Dale, Aug 09 2020 *)
PROG
(PARI) decade2pr(n1, n2) = { if(n1==0, n1=10); forstep(x=n1, n2, 10, if(isprime(x+1) && isprime(x+3) && !isprime(x+7) && !isprime(x+9), print1(x+1" "x+3" "); ); if(isprime(x+1) && isprime(x+7) && !isprime(x+3) && !isprime(x+9), print1(x+1" "x+7" "); ); if(isprime(x+1) && isprime(x+9) && !isprime(x+3) && !isprime(x+7), print1(x+1" "x+9" "); ); if(isprime(x+3) && isprime(x+7) && !isprime(x+1) && !isprime(x+9), print1(x+3" "x+7" "); ); if(isprime(x+3) && isprime(x+9) && !isprime(x+1) && !isprime(x+7), print1(x+3" "x+9" "); ); if(isprime(x+7) && isprime(x+9) && !isprime(x+1) && !isprime(x+3), print1(x+7" "x+9" "); ); ); }
(Magma) &cat [PrimesInInterval(10*n+1, 10*n+9): n in [0..50] | #PrimesInInterval(10*n+1, 10*n+9) eq 2]; // Bruno Berselli, Sep 05 2012
CROSSREFS
Cf. A078494.
Sequence in context: A231073 A049483 A112681 * A155913 A227919 A240898
KEYWORD
nonn,easy,base
AUTHOR
Cino Hilliard, Jan 04 2003
EXTENSIONS
Offset changed to 1 by Alois P. Heinz, Jul 22 2014
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 December 9 04:08 EST 2023. Contains 367681 sequences. (Running on oeis4.)