login
Half the number of length n integer sequences with sum zero and sum of squares 3698.
1

%I #4 Mar 31 2012 12:35:25

%S 1,9,258,18070,1193265,71833671,4116288204,246535687044,

%T 14276990551185,738244819092055,34951581964536930,1558650106287998802,

%U 66599892238284898857,2751910251508099981950,110408459890796284831080

%N Half the number of length n integer sequences with sum zero and sum of squares 3698.

%H R. H. Hardin, <a href="/A157575/b157575.txt">Table of n, a(n) for n=2..50</a>

%F [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,3698)/2.

%K nonn

%O 2,2

%A _R. H. Hardin_ Mar 02 2009