OFFSET
1,2
COMMENTS
A005669 is a subsequence of this sequence.
REFERENCES
Richard K. Guy, Unsolved Problems in Number Theory, 3rd Edition, Springer, 2004, Section A8, pp. 31-39.
LINKS
Jeff Young and Aaron Potler, First occurrence prime gaps, Math. Comp., 52 (1989), 221-224.
FORMULA
MATHEMATICA
f[n_] := Prime[n+1]-Prime[n]; v1={}; v2={}; Do[If[f[n]>=If[n==1, 1, Last[v2]], v=n; v1=Append[v1, n]; v2=Append[v2, f[v]]; Print[v1]], {n, 105000000}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Farideh Firoozbakht, Aug 15 2003
EXTENSIONS
a(45)-a(47) from Amiram Eldar, Sep 05 2024
STATUS
approved