login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and 2*w^2+3*x*y=0.
2

%I #4 Apr 15 2012 21:22:21

%S 1,5,9,21,25,29,49,53,65,77,81,85,105,109,113,125,137,141,161,165,169,

%T 181,185,189,225,237,241,269,273,277,305,309,329,341,345,349,377,381,

%U 385,397,409,413,433,437,441,453,457,461,497,517,545,557,561

%N Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and 2*w^2+3*x*y=0.

%C For a guide to related sequences, see A211422.

%t t[n_] := t[n] = Flatten[Table[2 w^2 + 3 x*y, {w, -n, n}, {x, -n, n}, {y, -n, n}]]

%t c[n_] := Count[t[n], 0]

%t t = Table[c[n], {n, 0, 70}] (* A211428 *)

%t (t - 1)/4 (* integers *)

%Y Cf. A211422.

%K nonn

%O 0,2

%A _Clark Kimberling_, Apr 10 2012