OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
Index entries for linear recurrences with constant coefficients, signature (2, 0, -1) (empirical).
FORMULA
Empirical: a(n) = 2*a(n-1) - a(n-3).
From the empirical recurrence, a(n) = 4*(Fibonacci(n + 3) - 1). - Ehren Metcalfe, Apr 04 2019
EXAMPLE
Some solutions for n=5:
0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0
0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1 1
1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 1 1
0 1 0 1 0 1 0 0 1 1 0 1 0 1 0 1 0 1 1 1
0 1 1 0 1 0 0 0 1 1 0 1 1 0 0 1 1 1 1 1
1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 1 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 17 2012
STATUS
approved