OFFSET
1,5
LINKS
Siegfried "Zig" Herzog, Frequency of Occurrence of Prime Gaps
T. Oliveira e Silva, S. Herzog, and S. Pardi, Empirical verification of the even Goldbach conjecture and computation of prime gaps up to 4.10^18, Math. Comp., 83 (2014), 2033-2060.
EXAMPLE
a(6) = 476 because there are 476 prime gaps of 42 below 10^6.
MATHEMATICA
Table[Count[Differences[Prime[Range[PrimePi[10^n]]]], 42], {n, 10}] (* The program generates the first 10 terms of the sequence. *) (* Harvey P. Dale, Jun 11 2025 *)
CROSSREFS
KEYWORD
nonn,more,changed
AUTHOR
Enoch Haga, Apr 24 2004
EXTENSIONS
a(10)-a(13) from Washington Bomfim, Jun 22 2012
a(14)-a(18) from S. Herzog's website added by Giovanni Resta, Aug 14 2018
STATUS
approved
