OFFSET
1,1
COMMENTS
Row 2 of A255107.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = (1/120)*n^5 + (5/24)*n^4 + (37/24)*n^3 + (175/24)*n^2 + (239/20)*n + 6.
Empirical g.f.: x*(3 - 3*x + x^2)*(9 - 20*x + 18*x^2 - 6*x^3) / (1 - x)^6. - Colin Barker, Jan 24 2018
EXAMPLE
Some solutions for n=4:
0 2 2 0 2 2 1 0 0 1 1 1 1 2 2 2
0 2 0 1 0 2 1 0 2 1 0 1 1 1 0 2
0 1 2 0 1 2 1 0 0 2 0 2 0 1 1 0
1 1 2 1 2 0 0 2 0 1 0 2 0 1 1 0
0 1 2 2 2 2 1 2 0 1 2 1 1 1 2 0
1 1 2 2 2 2 2 2 1 2 1 2 1 2 2 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 14 2015
STATUS
approved