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!)
A080841 Number of pairs (p,q) of (not necessarily consecutive) primes with q-p = 6 and q < 10^n. 3
0, 15, 74, 411, 2447, 16386, 117207, 879908, 6849047, 54818296, 448725003, 3741217498 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Note that one has to be careful to distinguish between pairs of consecutive primes (p,q) with q-p = 6 (A031924), and pairs of primes (p,q) with q-p = 6 (A023201). Here we consider the latter, whereas A093738 considers the former. - N. J. A. Sloane, Mar 07 2021
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].
PROG
(PARI) {c=0; p=7; for(n=1, 9, while(p<10^n, if(isprime(p-6), c++); p=nextprime(p+1)); print1(c, ", "))}
CROSSREFS
See also A031924, A093738.
Sequence in context: A212092 A022817 A171341 * A022675 A214453 A317657
KEYWORD
nonn
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
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)