OFFSET
1,5
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = (160/3)*n^3 - 708*n^2 + (9539/3)*n - 4831 for n>4.
Conjectures from Colin Barker, Dec 08 2018: (Start)
G.f.: x^4*(1 + 30*x + 149*x^2 + 112*x^3 + 28*x^4) / (1 - x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>8.
(End)
EXAMPLE
Some solutions for n=6:
..0..0..0....0..1..1....0..1..2....0..0..1....0..0..1....0..0..1....0..1..1
..0..0..1....1..1..2....1..1..2....0..1..1....0..1..1....1..1..1....1..1..2
..0..0..1....1..2..2....1..1..2....0..1..2....1..1..1....1..1..1....1..1..2
..1..1..1....2..2..2....1..2..2....1..1..2....1..1..2....1..1..2....1..1..2
..1..1..2....2..2..2....1..2..2....1..2..2....2..2..2....1..2..2....1..2..2
..2..2..2....2..2..2....2..2..2....2..2..2....2..2..2....2..2..2....2..2..2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 25 2014
STATUS
approved