OFFSET
1,3
COMMENTS
Row 4 of A297299.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
Robert Israel, Maple-assisted proof of empirical formula
FORMULA
Empirical: a(n) = 4*a(n-1) - 6*a(n-2) + 7*a(n-3) - 4*a(n-4) + 3*a(n-5) + a(n-6) - 5*a(n-7) + 4*a(n-8) - 2*a(n-9) - a(n-10) - 5*a(n-12) - 3*a(n-13) for n > 16.
Formula verified by Robert Israel, May 25 2018: see link.
EXAMPLE
Some solutions for n=5:
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 1 0 0
0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0
0 0 1 1 0 0 0 0 1 1 1 1 0 1 0 0 0 0 1 1
0 1 1 0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 1 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 27 2017
STATUS
approved