OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = (1/2)*n^6 + (131/40)*n^5 + (71/8)*n^4 + (103/8)*n^3 + (85/8)*n^2 + (97/20)*n + 1.
Conjectures from Colin Barker, Oct 31 2018: (Start)
G.f.: x*(42 + 141*x + 175*x^2 - 13*x^3 + 21*x^4 - 7*x^5 + x^6) / (1 - x)^7.
a(n) = 7*a(n-1) - 21*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7) for n>7.
(End)
EXAMPLE
Some solutions for n=4:
2 4 2 3 0 2 1 1 0 2 4 0 0 0 1 3
2 0 1 0 0 4 2 2 0 1 1 3 0 1 2 0
1 2 1 1 4 2 1 3 1 1 1 0 0 0 3 0
3 3 4 2 4 1 3 0 1 4 0 0 0 1 3 2
1 2 3 3 1 1 2 4 0 2 1 2 0 2 1 1
1 0 0 1 3 2 2 2 4 1 1 3 0 4 2 2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, May 05 2014
STATUS
approved