OFFSET
1,1
COMMENTS
Column 2 of A267232.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 5*a(n-1) -8*a(n-2) +4*a(n-3) for n>4.
Conjectures from Colin Barker, Feb 05 2018: (Start)
G.f.: x*(3 - 6*x + 2*x^3) / ((1 - x)*(1 - 2*x)^2).
a(n) = 2^(n+1) + 2^(n-2)*n - 1 for n>1.
(End)
EXAMPLE
Some solutions for n=6:
1 0 0 1 2 0 1 2 1 1 0 2 1 1 2 2
0 2 1 2 0 2 2 1 0 2 2 1 2 0 0 1
2 2 2 0 1 0 1 2 1 1 0 0 0 2 2 0
0 0 0 2 2 1 2 0 0 2 1 1 2 2 2 1
2 0 2 1 1 1 0 2 1 1 0 1 0 1 1 2
1 1 1 1 0 0 1 1 1 1 2 0 1 1 0 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 12 2016
STATUS
approved