OFFSET
1,1
COMMENTS
Column 5 of A204754.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) - a(n-3) for n > 5.
Empirical g.f.: x*(342 - 646*x - 41*x^2 + 312*x^3 + 6*x^4) / ((1 - x)*(1 - x - x^2)). - Colin Barker, Jun 10 2018
EXAMPLE
Some solutions for n=3:
0 1 0 1 0 0 1 0 0 1 1 1 0 0 0 0 1 0 1 0 1
0 1 0 1 0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 1
0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 0 1 0 1 0 1
0 1 0 1 0 0 1 1 1 0 0 0 1 1 0 0 1 0 1 0 1
0 1 0 1 0 0 1 1 1 1 0 0 0 1 0 0 1 0 1 0 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 18 2012
STATUS
approved