OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
N:= 10000:
A:= NULL:
for x from 3 by 4 while x^2 < N do
for y from 2 by 4 while x^2 + y^2 < N do
v:= x^2 + y^2;
if isprime(v) then A:= A, v fi
od od:
sort(convert({A}, list)); # Robert Israel, Aug 26 2018
MATHEMATICA
With[{nn=20}, Select[Flatten[Table[(4n+3)^2+(4m+2)^2, {n, 0, nn}, {m, 0, nn}], 1], PrimeQ]]//Union (* Harvey P. Dale, Mar 04 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Oct 11 2003
STATUS
approved