OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 6*a(n-1) - 11*a(n-2) + 6*a(n-3) for n>8.
Empirical: a(n) = 49*3^(n-1) + 291*2^(n-1) + 1017 for n>5.
Empirical g.f.: x*(414 - 1107*x - 1068*x^2 + 1543*x^3 + 2112*x^4 + 392*x^5 - 180*x^6 - 72*x^7) / ((1 - x)*(1 - 2*x)*(1 - 3*x)). - Colin Barker, Dec 15 2018
EXAMPLE
Some solutions for n=4:
..1..2..1....1..1..1....0..2..1....0..1..2....1..2..2....0..2..1....0..1..2
..2..2..1....2..1..0....2..2..0....0..0..0....2..1..0....2..1..0....1..0..0
..2..2..1....2..1..0....2..2..0....2..1..0....2..1..0....2..1..0....2..0..0
..2..2..1....2..1..0....2..2..1....2..1..0....1..0..0....2..1..0....2..0..0
..1..2..2....1..1..2....0..1..2....0..0..0....1..1..2....0..0..1....2..0..2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 02 2015
STATUS
approved