OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
v:= 1: p:= 0: q:= 0: np:= 0: R:= NULL:
for i from 1 while np < 100 do
if isprime(v) then p:= p+1; R:= R, v; np:= np+1 else q:= q+1 fi;
v:= p^2 + q^2 + 1;
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Nov 10 2024
STATUS
approved