OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 6*a(n-1) - 7*a(n-2) - 12*a(n-3) + 15*a(n-4) + 11*a(n-5) - 5*a(n-6) - 3*a(n-7).
Empirical g.f.: x*(40 - 71*x - 88*x^2 + 146*x^3 + 94*x^4 - 48*x^5 - 27*x^6) / ((1 + x)*(1 - 3*x)*(1 - x - x^2)*(1 - 3*x + x^3)). - Colin Barker, Nov 24 2018
EXAMPLE
Some solutions for n=4:
1 2 0 2 1 0 1 1 0 1 1 0 2 0 0 0 2 0 0 2
1 2 0 2 1 0 1 1 0 1 1 0 2 1 2 0 2 2 2 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 29 2014
STATUS
approved