|
|
A093979
|
|
Number of prime pairs below 10^n having a difference of 50.
|
|
2
|
|
|
0, 0, 0, 0, 5, 106, 2048, 27522, 328066, 3607750, 37931633, 386726111, 3862450797, 38030383640, 370777525300, 3589909796035, 34588559153345, 332118860517515
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
LINKS
|
|
|
EXAMPLE
|
a(5) = 5 because there are 5 prime gaps of 50 below 10^5.
|
|
MATHEMATICA
|
a[n_] := Length@Select[Select[Range[1, 10^n - 50], PrimeQ[#] &], 50 == NextPrime[#] - # &]
Table[Count[Differences[Prime[Range[PrimePi[10^n]]]], 50], {n, 10}] (* To get additional terms, increase the "n, 10" variable specification to "n, x" where x is greater than 10 but not greater than 14 (because "n, 10^14" is the highest value Mathematica version 11 can compute) but the program will take a long time to run *) (* Harvey P. Dale, Aug 12 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(14)-a(18) from S. Herzog's website added by Giovanni Resta, Aug 14 2018
|
|
STATUS
|
approved
|
|
|
|