OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) + 2*a(n-2) - 6*a(n-3) + 6*a(n-5) - 2*a(n-6) - 2*a(n-7) + a(n-8) for n > 11.
Empirical for n mod 2 = 0: a(n) = n^4 + 10*n^3 + 217*n^2 + 960*n + 9216 for n > 3.
Empirical for n mod 2 = 1: a(n) = n^4 + 10*n^3 + 218*n^2 + 946*n + 9265 for n > 3.
Empirical g.f.: x*(271350 - 438371*x - 718106*x^2 + 1370362*x^3 + 545942*x^4 - 1479832*x^5 - 41458*x^6 + 602478*x^7 - 38780*x^8 - 54557*x^9 - 18836*x^10) / ((1 - x)^5*(1 + x)^3). - Colin Barker, Dec 23 2018
EXAMPLE
Some solutions for n=1:
0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0
1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0
0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 1 0 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jun 14 2015
STATUS
approved