cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A080841 Number of pairs (p,q) of (not necessarily consecutive) primes with q-p = 6 and q < 10^n.

This page as a plain text file.
%I A080841 #24 Feb 16 2025 08:32:48
%S A080841 0,15,74,411,2447,16386,117207,879908,6849047,54818296,448725003,
%T A080841 3741217498
%N A080841 Number of pairs (p,q) of (not necessarily consecutive) primes with q-p = 6 and q < 10^n.
%C A080841 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
%H A080841 A. Granville, G. Martin, <a href="http://www.dms.umontreal.ca/~andrew/PDF/PrimeRace.pdf">Prime number races</a>, Amer. Math. Monthly vol 113, no 1 (2006) p 1.
%H A080841 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/SexyPrimes.html">Sexy Primes</a>. [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].
%o A080841 (PARI) {c=0; p=7; for(n=1,9, while(p<10^n,if(isprime(p-6),c++); p=nextprime(p+1)); print1(c,","))}
%Y A080841 Cf. A023201, A046117, A007508, A080840, A006512, A046132, A046117.
%Y A080841 See also A031924, A093738.
%K A080841 nonn
%O A080841 1,2
%A A080841 _Jason Earls_, Mar 28 2003
%E A080841 a(8) and a(9) from _Klaus Brockhaus_, Mar 30 2003
%E A080841 More terms from _R. J. Mathar_, Aug 05 2007