OFFSET
0,2
COMMENTS
See A210000 for a guide to related sequences.
MATHEMATICA
a = 0; b = n; z1 = 40;
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]
c1[n_, m_] := c1[n, m] = Sum[c[n, k], {k, 0, 1}]
Table[c1[n, 1], {n, 0, z1}] (* A209991 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 18 2012
STATUS
approved