OFFSET
1,1
COMMENTS
Column 1 of A205440.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 21*a(n-1) - 156*a(n-2) + 442*a(n-3) - 81*a(n-4) - 1359*a(n-5) + 1134*a(n-6).
Empirical g.f.: x*(15 - 238*x + 1166*x^2 - 1216*x^3 - 3561*x^4 + 4914*x^5) / ((1 - x)*(1 - 3*x)*(1 - 6*x)*(1 - 7*x)*(1 - 4*x - 9*x^2)). - Colin Barker, Mar 03 2018
EXAMPLE
Some solutions for n=4:
0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
1 1 2 3 1 2 1 2 0 2 1 0 2 3 1 1 2 0 1 1
2 2 1 0 0 1 0 3 3 2 0 2 3 2 2 2 1 3 0 1
0 0 0 3 2 0 3 1 0 2 2 3 1 0 1 1 3 1 1 1
1 0 3 1 0 3 1 2 1 2 1 0 3 1 3 3 1 3 1 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 27 2012
STATUS
approved
