[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login

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

A080840
Number of cousin primes < 10^n.
3
1, 8, 41, 203, 1216, 8144, 58622, 440258, 3424680, 27409999, 224373161, 1870585459, 15834656003, 135779962760, 1177207270204
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, ", "))}
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