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