OFFSET
1,2
COMMENTS
Column 4 of A183953
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..60
EXAMPLE
Some solutions for n=6
..0....4....2....3....4....0....3....2....2....0....4....0....2....3....4....2
..2....1....2....3....4....3....0....1....4....2....1....3....1....4....1....1
..2....2....1....2....3....0....1....0....2....1....1....1....1....0....4....4
..2....2....4....0....0....2....2....1....0....1....1....3....2....4....4....1
..2....2....1....3....1....4....4....2....0....3....3....3....1....1....0....2
..1....1....1....1....2....0....0....2....3....1....1....0....2....1....1....1
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, 4];
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 08 2011
STATUS
approved