OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=16, then (p(16)-2*16)/7=(53-32)/7=3=a(1).
If n=22, then (p(22)-2*22)/7=(79-44)/7=5=a(2).
If n=26, then (p(26)-2*26)/7=(101-52)/7=7=a(3).
If n=27, then (p(27)-2*27)/7=(103-54)/7=7=a(4).
If n=60, then (p(60)-2*60)/7=(281-120)/7=23=a(5), etc.
MAPLE
for n from 1 to 3000 do p := (ithprime(n)-2*n)/7 ; if type(p, 'integer') then if isprime(p) then printf("%d, ", p) ; end if; end if; end do: # R. J. Mathar, Apr 28 2010
MATHEMATICA
Select[Table[(Prime[n]-2n)/7, {n, 2000}], PrimeQ] (* Harvey P. Dale, Sep 19 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Oct 07 2008
EXTENSIONS
More terms from R. J. Mathar, Apr 28 2010
STATUS
approved