OFFSET
1,1
COMMENTS
2*n*prime(a(n))-prime(a(n)-1) and 2*n*prime(a(n))-prime(a(n)+1) are prime.
LINKS
Robert Israel, Table of n, a(n) for n = 1..600
MAPLE
V:= Vector(100): count:= 0:
q:= 3: r:= 5:
for i from 3 while count < 100 do
p:= q; q:= r; r:= nextprime(r);
for k from 2 by 2 do
if isprime(k*q-p) and isprime(k*q-r) then break fi;
od;
v:= k/2;
if v <= 100 and V[v] = 0 then count:= count+1; V[v]:= i; fi
od:
convert(V, list);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 01 2021
STATUS
approved