OFFSET
1,2
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..100
FORMULA
Empirical: a(n) = 3*a(n-1) - 2*a(n-2) - a(n-3) + a(n-4) for n >= 6.
Conjectures from Colin Barker, Mar 25 2018: (Start)
G.f.: x*(1 + 2*x - 2*x^2 - x^3 + x^4) / ((1 - x)^2*(1 - x - x^2)).
a(n) = -4 + (2^(-n)*((1-sqrt(5))^n*(-5+2*sqrt(5)) + (1+sqrt(5))^n*(5+2*sqrt(5)))) / sqrt(5) - n for n>1.
(End)
EXAMPLE
All solutions for n=3:
0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 1 0 1 1 1 1
0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 1 1 1 0 1 0 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 03 2009
STATUS
approved