OFFSET
1,1
COMMENTS
Row 3 of A224524.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000 (first 80 terms from R. H. Hardin)
FORMULA
a(n) = 6*n^2 + 18*n + 3 + 6 * A002541(n). - Robert Israel, Dec 15 2019
EXAMPLE
Some solutions for n=3:
0 1 0 1 3 2 0 1 0 1 3 1 0 0 0 0 0 0 1 0 0
0 1 0 0 0 0 0 1 0 0 0 0 0 1 2 3 0 3 1 0 0
0 3 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 1 2 0 0
MAPLE
f:= k -> 6*k^2 + 18*k + 3 + 6 * add(floor(k/m), m=2..k):
map(f, [$1..50]); # Robert Israel, Dec 15 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Apr 09 2013
STATUS
approved