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); a(n) = (1131*3^n - 1080*2^n + 335)/2.
Empirical g.f.: x*(784 - 1607*x + 1158*x^2) / ((1 - x)*(1 - 2*x)*(1 - 3*x)). - Colin Barker, Nov 20 2018
EXAMPLE
Some solutions for n=4:
..1..1..1..1..0..0....2..2..2..2..1..1....2..1..1..1..1..0....2..2..2..2..2..1
..0..0..0..0..0..0....0..0..0..0..0..0....0..0..0..0..0..0....1..1..1..1..1..1
..2..2..2..2..2..2....0..0..0..0..0..0....0..0..0..0..0..0....1..1..1..1..1..1
..0..1..1..1..1..1....1..1..1..1..1..1....0..0..0..0..0..1....0..1..1..1..1..1
..0..1..2..2..2..2....0..1..1..1..2..2....0..0..1..1..1..2....0..1..1..1..1..2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 27 2014
STATUS
approved