OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=25, then (p(25)-2*(25-1))/7=(97-48)/7=7=a(1).
If n=39, then (p(39)-2*(39-1))/7=(167-76)/7=13=a(2).
If n=47, then (p(47)-2*(47-1))/7=(211-92)/7=17=a(3).
If n=51, then (p(51)-2*(51-1))/7=(233-100)/7=19=a(4).
If n=59, then (p(59)-2*(59-1))/7=(277-116)/7=23=a(5).
If n=68, then (p(68)-2*(68-1))/7=(337-134)/7=29=a(6), etc.
MATHEMATICA
Select[(#[[2]]-2#[[1]])/7&/@Table[{n-1, Prime[n]}, {n, 1000}], PrimeQ] (* Harvey P. Dale, Jan 17 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Oct 08 2008
EXTENSIONS
Corrected (101, 167 and 211 duplicated, 107 inserted) and extended by R. J. Mathar, Apr 13 2010
STATUS
approved