OFFSET
0,1
COMMENTS
a(n) exists for every n; see Sierpinski (1988), p. 221.
The distinct primes in the sequence form A263980.
Conjecture: a(n) <= 2*(2n+1)^2 for all n >= 0.
REFERENCES
W. Sierpinski, Elementary Theory of Numbers, 2nd English edition, revised and enlarged by A. Schinzel, Elsevier, 1988.
FORMULA
a(n) == 1 or 2 mod 4.
EXAMPLE
The smallest prime of the form a^2 + b^2 with a > 2 and b > 2 is 41 = 4^2 + 5^2, so a(2) = 41 and a(3) = 41.
MATHEMATICA
Table[ Min[ Select[ Union[ Flatten[ With[{n = k}, Array[#1^2 + #2^2 &, {2n + 1, 2n + 1}, {n + 1, n + 1}] ]]], PrimeQ]], {k, 0, 59}] (* This assumes the Conjecture above. *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Sondow, Nov 09 2015
STATUS
approved