OFFSET
1,2
EXAMPLE
a(12)=3 since 12 = 2^2 + 2^2 + 2^2 = 3^2 + 1^2 + 1^2 + 1^2 and 3 of the same square are needed.
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(2) and a(3) corrected and title improved by Sean A. Irvine, Nov 03 2020
STATUS
approved