OFFSET
0,2
COMMENTS
See A210000 for a guide to related sequences.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000
FORMULA
MATHEMATICA
a = 0; b = n; z1 = 30;
t[n_] := t[n] = Flatten[Table[w*z - x*y, {w, a, b}, {x, a, b}, {y, a, b}, {z, a, b}]]
c[n_, k_] := c[n, k] = Count[t[n], k]
u[n_] := u[n] = Sum[c[n, 2 k], {k, 0, n^2}]
v[n_] := v[n] = Sum[c[n, 2 k], {k, 1, n^2}]
w[n_] := w[n] = Sum[c[n, 2 k - 1], {k, 1, n^2}]
Table[u[n], {n, 0, z1}] (* A210371 *)
Table[v[n], {n, 0, z1}] (* A210372 *)
Table[w[n], {n, 0, z1}] (* A210373 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 20 2012
STATUS
approved