A080841 Number of pairs (p,q) of (not necessarily consecutive) primes with q-p = 6 and q < 10^n.
0, 15, 74, 411, 2447, 16386, 117207, 879908, 6849047, 54818296, 448725003, 3741217498
Offset: 1
Keywords
Links
- A. Granville, G. Martin, Prime number races, Amer. Math. Monthly vol 113, no 1 (2006) p 1.
- Eric Weisstein's World of Mathematics, Sexy Primes. [The definition in this webpage is unsatisfactory, because it defines a "sexy prime" as a pair of primes.- _N. J. A. Sloane_, Mar 07 2021].
Crossrefs
Programs
-
PARI
{c=0; p=7; for(n=1,9, while(p<10^n,if(isprime(p-6),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
Comments