OFFSET
1,1
COMMENTS
Column 3 of A204713.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) +2*a(n-2) -4*a(n-3).
Conjectures from Colin Barker, Jun 09 2018: (Start)
G.f.: x*(25 + 6*x - 36*x^2) / ((1 - x)*(1 - 2*x - 4*x^2)).
a(n) = (5 + (20-8*sqrt(5))*(1-sqrt(5))^n + 4*(1+sqrt(5))^n*(5+2*sqrt(5))) / 5.
(End)
EXAMPLE
Some solutions for n=4:
..1..1..1..0....0..1..1..1....1..0..1..0....1..1..0..1....0..1..0..1
..1..0..1..1....1..1..0..1....1..1..0..1....1..0..1..1....1..1..1..0
..1..1..0..1....1..0..1..1....1..0..1..0....0..1..1..0....1..0..1..1
..0..1..1..0....0..1..1..0....1..1..1..1....1..1..0..1....0..1..1..0
..1..0..1..1....1..0..1..1....0..1..0..1....1..0..1..1....1..1..0..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 18 2012
STATUS
approved