_R. H. Hardin (rhhardin(AT)att.net) _ Mar 02 2009
_R. H. Hardin (rhhardin(AT)att.net) _ Mar 02 2009
R. H. Hardin, <a href="/A157557/b157557.txt">Table of n, a(n) for n=2..50</a>
nonn,new
nonn
Ron R. H. Hardin, <a href="b157557.txt">Table of n, a(n) for n=2..50</a>
nonn,new
nonn
Ron R. H. Hardin (rhhardin(AT)att.net) Mar 02 2009
Half the number of length n integer sequences with sum zero and sum of squares 1250.
1, 3, 222, 7810, 245715, 7887621, 271336828, 9598223664, 323149486005, 9653120522639, 265199107509930, 6875831133411318, 170878889034103705, 4105071237469192095, 95749849725794169816, 2169082695217727013712
2,2
Ron Hardin, <a href="b157557.txt">Table of n, a(n) for n=2..50</a>
[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,1250)/2.
nonn
Ron Hardin (rhhardin(AT)att.net) Mar 02 2009
approved