OFFSET
1,1
EXAMPLE
39 is a term, since it requires 4 squares to be represented and admits the representation 39 = 5^2 + 3^2 + 2^2 + 1^2.
30 is not a term, although it can be represented as a sum of 4 different squares 30 = 4^2+ 3^2 + 2^2 + 1^2 also admits a representation as a sum of 3 squares: 30 = 5^2 + 2^2 + 1^2.
7 is not a term, since although it requires 4 squares to be represented as follows 7 = 2^2 + 1^2 + 1^2 + 1^2, it is noted that 1 is used on more than one occasion.
CROSSREFS
KEYWORD
nonn
AUTHOR
Gonzalo Martínez, Aug 26 2024
STATUS
approved