OFFSET
1,2
COMMENTS
Column 3 of A221768.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..71
FORMULA
Empirical: a(n) = 8*a(n-1) - 14*a(n-2) + 8*a(n-3) - a(n-4).
Conjectures from Colin Barker, Aug 10 2018: (Start)
G.f.: x^2*(3 - 8*x + 6*x^2) / ((1 - x)^2*(1 - 6*x + x^2)).
a(n) = (40+sqrt(2)*((81-56*sqrt(2))*(3+2*sqrt(2))^n - (3-2*sqrt(2))^n*(81+56*sqrt(2))) - 8*(1+n)) / 32.
(End)
EXAMPLE
Some solutions for n=3:
..1..1..1....0..1..1....1..2..1....1..2..1....0..1..1....1..1..1....0..1..1
..2..0..1....1..2..2....1..2..1....1..1..1....1..1..2....2..1..1....1..1..1
..1..1..1....0..1..1....0..1..0....1..1..0....1..1..1....1..1..0....1..2..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 25 2013
STATUS
approved