|
| |
|
|
A093683
|
|
Number of pairs of twin primes <= 10^n-th prime.
|
|
2
| | |
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| This sequence is >= the values of pi(10^n): 4, 25, 168, 1229, . . . in A006880
|
|
|
REFERENCES
| Enoch Haga, "Wandering through a prime number desert," Table 6, in Exploring prime numbers on your PC and the Internet, 2001 (ISBN 1-885794-17-7)
|
|
|
LINKS
| Thomas R. Nicely, Twin prime count
|
|
|
FORMULA
| Count twin primes <= p_{10^n}: 10th prime, 100th prime, etc.
|
|
|
EXAMPLE
| a(5)=10250 because that is the number of twin primes <= 1299709, the 100000-th prime
|
|
|
MATHEMATICA
| NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; c = 0; p = q = 1; Do[l = Prime[10^n]; While[q <= l, If[p + 2 == q, c++ ]; p = q; q = NextPrim[p]]; Print[c], {n, 12}] (from Robert G. Wilson v Apr 10 2004)
|
|
|
CROSSREFS
| See A049035 for another version. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 05 2008]
Cf. A006880 A007508 A049035.
Sequence in context: A140177 A034494 A084210 * A006348 A051820 A166697
Adjacent sequences: A093680 A093681 A093682 * A093684 A093685 A093686
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Enoch Haga (Enokh(AT)comcast.net), Apr 09 2004
|
| |
|
|