OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 9*a(n-1) - 31*a(n-2) + 51*a(n-3) - 40*a(n-4) + 12*a(n-5) for n>6.
Conjectures from Colin Barker, Nov 12 2018: (Start)
G.f.: x*(3 - 16*x + 21*x^2 + 24*x^3 - 60*x^4 + 24*x^5) / ((1 - x)^2*(1 - 2*x)^2*(1 - 3*x)).
a(n) = 5*3^(n-1) - (2^n-2)*n for n>1.
(End)
EXAMPLE
Some solutions for n=6:
..0....0....2....0....0....2....2....0....2....2....2....1....2....2....1....0
..1....1....1....2....0....1....1....1....0....2....1....2....0....2....1....1
..1....2....1....2....1....2....2....1....0....2....0....2....0....2....1....2
..2....1....2....0....1....0....1....2....1....0....0....0....0....0....1....2
..2....2....0....0....1....2....2....0....0....2....0....1....1....2....2....2
..0....2....2....1....1....0....1....1....1....1....1....2....0....1....2....1
..2....0....2....2....2....2....2....2....0....2....2....1....2....0....1....0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 16 2014
STATUS
approved