OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 149 is in the sequence because it is prime and A240860(8) = -149.
MAPLE
R:= NULL: count:= 0:
v:= 0: p:= 1:
while count < 100 do
p:= nextprime(p);
v:= p^2 - v;
if isprime(v) then R:= R, v; count:= count+1 fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 24 2020
STATUS
approved