OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..2500 from Harvey P. Dale)
FORMULA
prime(j) such that (prime(j+1)-prime(j))/log(prime(j)) > 4.
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>4, Print[Prime[n]]], {n, 1, 2000}]
Transpose[Select[Partition[Prime[Range[10000]], 2, 1], (#[[2]]-#[[1]])/ Log[ #[[1]]]>4&]][[1]] (* Harvey P. Dale, Dec 10 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 17 2003
STATUS
approved