OFFSET
2,2
LINKS
R. H. Hardin, Table of n, a(n) for n=2..50
FORMULA
[cache enabling] count(n,s,ss)->count(n,t,tt) where t=s mod n, q=(t-s)/n, tt=ss+2*q*s+n*q^2; count(n,t,tt)=sum[i^2<=tt]{ count(n-1,t-i,tt-i^2) }. a(n)=count(n,0,5832)/2.
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin Mar 02 2009
STATUS
approved