OFFSET
1,3
COMMENTS
Column 3 of A183953
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..75
EXAMPLE
All solutions for n=4
..3....2....1....0
..1....3....1....0
..1....2....3....0
..2....1....1....3
MATHEMATICA
r[n_, k_, s_] := r[n, k, s] = Which[s < 0, 0, n == 0, If[s == 0, 1, 0], True, Sum[r[n - 1, k, s - c*n^2], {c, 0, k}]];
T[n_, k_] := r[n, k, k*n^2];
a[n_] := T[n, 3];
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 08 2011
STATUS
approved