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!)
A080840 Number of cousin primes < 10^n. 3
1, 8, 41, 203, 1216, 8144, 58622, 440258, 3424680, 27409999, 224373161, 1870585459, 15834656003, 135779962760, 1177207270204 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The corresponding numbers for twin primes and sexy primes are in A007508 and A080841, the greater of twin primes, cousin primes and sexy primes are in A006512, A046132 and A046117 respectively.
In this sequence, only the upper member of each prime cousin pair is counted. See A152052 for the variant where only the lower member is counted. - James Rayman, Jan 17 2021
LINKS
A. Granville and G. Martin, Prime number races, Amer. Math. Monthly vol 113, no 1 (2006) p 1.
Eric Weisstein's World of Mathematics, Cousin Primes.
PROG
(PARI) {c=0; p=5; for(n=1, 9, while(p<10^n, if(isprime(p-4), c++); p=nextprime(p+1)); print1(c, ", "))}
CROSSREFS
Sequence in context: A273070 A273145 A273176 * A199846 A188180 A026968
KEYWORD
nonn,hard,more
AUTHOR
Jason Earls, Mar 28 2003
EXTENSIONS
a(8) and a(9) from Klaus Brockhaus, Mar 30 2003
More terms from R. J. Mathar, Aug 05 2007
a(13)-a(15) from Martin Ehrenstein, Sep 03 2021
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 August 25 22:58 EDT 2024. Contains 375454 sequences. (Running on oeis4.)