OFFSET
0,4
COMMENTS
See A210000 for a guide to related sequences.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..3000
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]
c1[n_, m_] := c1[n, m] = Sum[c[n, k], {k, 0, m}]
Table[c1[n, n^2] - c1[n, 3 n - 1], {n, 0, z1}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 20 2012
STATUS
approved