OFFSET
1,2
COMMENTS
Terms are in order of n. The sequence has repetitions and is not monotonic: e.g. a(71) = 249 and a(72) = 248. - Robert Israel, Nov 09 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
If n=2, then (p(2*2)-p(2))/4=(7-3)/4=1=a(1).
If n=6, then (p(2*6)-p(6))/4=(37-13)/4=6=a(2).
If n=11, then (p(2*11)-p(11))/4=(79-31)/4=12=a(3).
If n=13, then (p(2*13)-p(13))/4=(101-41)/4=15=a(4).
If n=14, then (p(2*14)-p(14))/4=(107-43)/4=16=a(5), etc.
MAPLE
q:= 1: p:= 1: count:= 0: R:= NULL:
while count < 100 do
q:= nextprime(q); p:= nextprime(nextprime(p));
v:= (p-q)/4;
if v::integer and not isprime(v) then count:= count+1; R:= R, v fi
od:
R; # Robert Israel, Nov 09 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Sep 18 2008
EXTENSIONS
59 and 87 removed by R. J. Mathar, Oct 04 2008
STATUS
approved