OFFSET
1,2
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 5*a(n-1) -7*a(n-2) +a(n-3) +2*a(n-4).
Conjectures from Colin Barker, Jan 11 2019: (Start)
G.f.: x*(1 - 3*x + 2*x^2 + x^3) / ((1 - x)*(1 - 2*x)*(1 - 2*x - x^2)).
a(n) = ((1-sqrt(2))^(1+n) + (1+sqrt(2))^(1+n) - 2*(2^n-1)) / 4.
(End)
EXAMPLE
Some solutions for n=8:
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
..0....1....1....1....1....1....1....1....1....1....1....1....1....1....1....0
..1....2....2....0....2....2....2....1....2....0....2....0....2....0....2....0
..2....2....2....0....1....1....1....1....0....1....0....1....1....0....0....1
..0....1....2....2....2....1....2....2....0....1....0....2....0....0....0....2
..1....0....2....0....1....1....1....1....1....1....0....0....2....2....0....1
..2....2....2....0....2....1....2....0....0....0....1....1....2....0....0....0
..1....2....2....1....1....1....2....2....2....1....0....1....2....0....2....0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 22 2016
STATUS
approved