OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
FORMULA
prime(j) such that (prime(j+1)-prime(j))/log(prime(j)) > 3.
EXAMPLE
If p = 1327 then r = 1361 and (r-p)/log(p) = 34/log(1327) = 4.72834..., so 1327 is in the sequence.
MATHEMATICA
Do[s=(Prime[n+1]-Prime[n])/Log[Prime[n]]//N; If[s>3, Print[Prime[n]]], {n, 1, 2000}]
Transpose[Select[Partition[Prime[Range[2000]], 2, 1], (Last[#]-First[#])/ Log[ First[ #]]>3&]][[1]] (* Harvey P. Dale, Apr 20 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 17 2003
STATUS
approved