OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 6*a(n-1) - 14*a(n-2) + 14*a(n-3) - 14*a(n-5) + 14*a(n-6) - 6*a(n-7) + a(n-8).
Empirical for n mod 2 = 0: a(n) = n^6 + (1/2)*n^5 + (35/2)*n^4 - (5/2)*n^3 + 5*n^2 + 18*n
Empirical for n mod 2 = 1: a(n) = n^6 + (1/2)*n^5 + (35/2)*n^4 - (5/2)*n^3 + 5*n^2 + 18*n - (15/2).
Conjectures from Colin Barker, Nov 07 2018: (Start)
G.f.: 4*x*(8 + 51*x + 91*x^2 + 106*x^3 + 21*x^4 + 83*x^5) / ((1 - x)^7*(1 + x)).
a(n) = (2*n^6 + n^5 + 35*n^4 - 5*n^3 + 10*n^2 + 36*n) / 2 for n even.
a(n) = (2*n^6 + n^5 + 35*n^4 - 5*n^3 + 10*n^2 + 36*n - 15) / 2 for n odd.
(End)
EXAMPLE
Some solutions for n=6:
4 3 5 2 0 5 4 4 0 1 6 1 5 4 4 2
4 1 5 0 3 4 0 1 0 6 4 6 4 4 1 0
2 0 3 4 5 5 3 1 5 3 5 5 1 2 2 2
6 1 3 1 2 0 4 1 2 4 5 1 5 2 5 0
3 2 2 5 2 2 2 1 1 0 5 5 3 5 3 2
0 6 5 3 5 1 2 0 0 5 6 2 3 6 2 5
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Sep 28 2014
STATUS
approved