OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) + 3*a(n-2) - 15*a(n-3) + 4*a(n-4) + 18*a(n-5) - 12*a(n-6).
Empirical g.f.: 4*x*(10 - 13*x - 55*x^2 + 68*x^3 + 72*x^4 - 84*x^5) / ((1 - x)*(1 - 2*x)*(1 - 2*x^2)*(1 - 3*x^2)). - Colin Barker, Oct 18 2018
EXAMPLE
Some solutions for n=4:
0 1 0 3 2 3 0 1 0 1 3 2 0 1 0 0 2 0 0 3 0
3 0 3 0 3 0 3 0 3 2 0 3 3 0 3 3 1 3 2 1 2
2 3 2 3 2 3 1 2 1 0 2 1 0 1 0 0 2 0 0 3 0
3 0 3 0 3 0 3 0 3 2 0 3 3 0 3 3 1 3 1 0 1
2 3 2 2 1 2 0 1 0 0 2 1 1 2 1 0 2 0 0 3 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 05 2014
STATUS
approved