OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) - 2*a(n-2) - 2*a(n-3) + 3*a(n-4) - a(n-5) for n>11.
Empirical for n mod 2 = 0: a(n) = (2/3)*n^3 + 7*n^2 + (70/3)*n + 95 for n>6.
Empirical for n mod 2 = 1: a(n) = (2/3)*n^3 + 7*n^2 + (70/3)*n + 88 for n>6.
Empirical g.f.: x*(180 - 343*x + 15*x^2 + 362*x^3 - 227*x^4 + 10*x^5 + 8*x^6 + 4*x^7 - x^8 - x^9 + x^10) / ((1 - x)^4*(1 + x)). - Colin Barker, Dec 11 2018
EXAMPLE
Some solutions for n=4:
..0..0..0..0..0....1..1..1..1..1....1..1..1..1..1....1..1..1..1..1
..0..0..0..0..0....1..1..1..1..1....1..1..1..1..1....1..1..1..1..1
..0..0..0..0..0....1..1..1..1..0....1..1..1..1..1....1..1..1..0..0
..0..0..0..1..0....1..1..1..1..1....1..1..1..1..1....1..1..1..1..1
..1..1..0..1..0....0..1..0..0..0....0..1..1..1..0....1..0..0..0..0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 31 2014
STATUS
approved