OFFSET
1,1
COMMENTS
Column 3 of A263799.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = a(n-1) + 3*a(n-2) - 3*a(n-3) - 3*a(n-4) + 3*a(n-5) + a(n-6) - a(n-7).
Empirical: a(n) = A058187(n-1) + floor((n+3)/2). - Filip Zaludek, Dec 14 2016
Conjectures from Colin Barker, Dec 14 2016: (Start)
a(n) = (n^3 + 6*n^2 + 32*n + 48)/48 for n even.
a(n) = (n^3 + 9*n^2 + 47*n + 87)/48 for n odd.
G.f.: x*(3 - 5*x^2 + 4*x^4 - x^6) / ((1 - x)^4*(1 + x)^3).
(End)
EXAMPLE
Some solutions for n = 5:
1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 0 0 0 0
1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 0 0 0 0
1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0
1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0
0 0 1 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0
0 0 1 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 26 2015
STATUS
approved