%I
%S 1,4,7,10,13,16,20,24,28,32,36,40,45,50,55,60,65,70,75,80,86,92,98,
%T 104,110,116,122,128,134,140,147,154,161,168,175,182,189,196,203,210,
%U 217,224,232,240,248,256,264,272,280,288,296,304,312,320,328,336
%N Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and (w+n)^2=x+y+w.
%C For a guide to related sequences, see A211422.
%t t[n_] := t[n] = Flatten[Table[(n + w)^2 - x - y - w, {w, -n, n}, {x, -n, n}, {y, -n, n}]]
%t c[n_] := Count[t[n], 0]
%t t = Table[c[n], {n, 0, 70}] (* A182112 *)
%Y Cf. A211422.
%K nonn
%O 0,2
%A _Clark Kimberling_, Apr 12 2012
|