A080840 Number of cousin primes < 10^n.
1, 8, 41, 203, 1216, 8144, 58622, 440258, 3424680, 27409999, 224373161, 1870585459, 15834656003, 135779962760, 1177207270204
Offset: 1
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.
Programs
-
PARI
{c=0; p=5; for(n=1,9, while(p<10^n,if(isprime(p-4),c++); p=nextprime(p+1)); print1(c,","))}
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
Comments