OFFSET
1,1
COMMENTS
Column 3 of A202447.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) -a(n-2) -5*a(n-3) +5*a(n-4) +a(n-5) -3*a(n-6) +a(n-7) for n>8.
Conjectures from Colin Barker, May 29 2018: (Start)
G.f.: 2*x*(112 - 148*x - 114*x^2 + 285*x^3 - 74*x^4 - 122*x^5 + 84*x^6 - 15*x^7) / ((1 - x)^5*(1 + x)^2).
a(n) = (n^4 + 24*n^3 + 149*n^2 + 492*n + 468) / 6 for n even.
a(n) = (n^4 + 24*n^3 + 149*n^2 + 498*n + 492) / 6 for n>1 and odd.
(End)
EXAMPLE
Some solutions for n=4:
..1..1..1..1..1....0..1..0..1..1....1..1..1..1..1....1..1..1..1..1
..0..1..0..0..0....1..1..1..1..1....1..0..0..0..0....1..0..1..0..0
..0..1..1..1..1....0..1..1..1..1....1..1..1..1..1....1..0..1..1..1
..0..1..0..1..1....1..1..1..1..1....1..0..1..0..1....1..0..1..1..1
..0..1..0..1..1....1..1..1..1..1....1..1..1..1..1....1..0..1..1..1
..0..1..0..1..1....1..1..1..1..1....1..1..1..1..1....1..0..1..1..1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 19 2011
STATUS
approved