OFFSET
1,1
COMMENTS
Entries may be repeated and are shown in order of increasing generator n.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
n=4: 4-(13-7)/(11-5)=3=a(1).
n=6: 6-(19-13)/(17-11)=5=a(2).
n=30: 30-(131-113)/(127-109)=29=a(3).
n=38: 38-(173-163)/(167-157)=37=a(4).
n=42: 42-(193-181)/(191-179)=41=a(5).
MATHEMATICA
With[{nn=2000}, Select[#[[1]]-#[[2]]&/@(Thread[{Range[2, nn-2], (#[[4]]- #[[2]])/ (#[[3]]-#[[1]])&/@Partition[Prime[Range[nn]], 4, 1]}]), PrimeQ]] (* Harvey P. Dale, Sep 12 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Sep 10 2008
EXTENSIONS
Corrected and extended by R. J. Mathar, Sep 26 2008
STATUS
approved