OFFSET
1,7
COMMENTS
As n goes to infinity the ratio of a(n)/a(n) of sequence A178898 (using all different squares) tends to 5/4.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..740
FORMULA
Asymptotic behavior for large values of n is a(n) = n^2/2-47n/2+243.
a(n) = A025429(n^2). - R. J. Mathar, Jun 26 2010
MAPLE
a(8) = 5 since 64 can be expressed in five different ways as the sum of 5 squares (order is ignored): 8^2 = 7^2+3^2+2^2+1^2+1^2 = 6^2+5^2+1^2+1^2+1^2 = 6^2+4^2+2^2+2^2+2^2 = 6^2+3^2+3^2+3^2+1^2 = 5^2+5^2+3^2+1^2+1^2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Carmine Suriano, Jun 24 2010
STATUS
approved