OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 5*a(n-1) - 6*a(n-2) + 3*a(n-3) - a(n-4).
Empirical g.f.: x*(4 - 7*x + 3*x^2 - x^3) / ((1 - x)*(1 - 4*x + 2*x^2 - x^3)). - Colin Barker, Sep 14 2018
EXAMPLE
Some solutions for n=4:
0 0 0 0 0 2 0 2 1 0 2 2 0 2 1 0 0 2 0 0 0
1 1 0 1 0 0 1 0 2 1 0 0 1 0 2 1 0 0 1 1 0
2 2 1 2 1 1 2 1 0 2 1 1 1 1 0 1 1 0 2 1 0
0 2 2 2 2 2 2 2 1 2 2 1 2 2 1 2 1 0 2 1 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Sep 22 2013
STATUS
approved