OFFSET
1,1
COMMENTS
The numbers in this sequence can be expressed as a sum of 3 positive squares in exactly one way, and those 3 squares are distinct. This is different from A025339.
LINKS
Andreas Boe, Table of n, a(n) for n = 1..373
Andreas Boe, List of values with values of x, y and z
EXAMPLE
14 is a term because it can be expressed in just one way as a sum of 3 squares (1^2+2^2+3^2) and the 3 squares are different.
MATHEMATICA
rp[n_] := Flatten@ IntegerPartitions[n, {3}, Range[Sqrt@n]^2]; Select[
Range[265], Length[u = rp[#]] == 3 && Union[u] == Sort[u] &] (* Giovanni Resta, Jun 15 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Andreas Boe, Jun 14 2016
STATUS
approved