OFFSET
1,2
LINKS
P. T. Bateman and E. Grosswald, Positive integers expressible as a sum of three squares in essentially only one way, J. Number Theory, 19 (1984), 301-308.
MATHEMATICA
aQ[n_] := MemberQ[{1, 2, 5, 6}, Mod[n, 8]] && Length[Solve[i^2+j^2+k^2==n && k>=0 && j>=k && i>=j, {i, j, k}, Integers]]==1; Select[Range[260], aQ] (* Amiram Eldar, Dec 04 2018 *)
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
N. J. A. Sloane, Jul 31 2003
STATUS
approved