OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = (10/63)*n^7 + (163/90)*n^6 + (1421/180)*n^5 + (625/36)*n^4 + (751/36)*n^3 + (2489/180)*n^2 + (178/35)*n + 1.
Conjectures from Colin Barker, Nov 11 2018: (Start)
G.f.: x*(68 + 356*x + 400*x^2 - 51*x^3 + 48*x^4 - 28*x^5 + 8*x^6 - x^7) / (1 - x)^8.
a(n) = 8*a(n-1) - 28*a(n-2) + 56*a(n-3) - 70*a(n-4) + 56*a(n-5) - 28*a(n-6) + 8*a(n-7) - a(n-8) for n>8.
(End)
EXAMPLE
Some solutions for n=5:
1 0 3 2 1 2 1 4 2 1 3 1 1 1 0 0
0 2 0 4 0 1 3 2 1 1 0 1 0 3 2 0
0 0 1 0 0 3 5 3 0 5 1 4 1 1 2 0
1 0 1 3 5 4 1 4 1 3 1 4 2 4 2 5
1 0 5 4 1 5 3 4 2 2 1 1 0 3 5 2
5 0 2 2 2 0 4 4 4 4 0 5 1 3 1 1
1 0 3 4 4 4 0 1 4 5 4 4 4 5 3 3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 13 2014
STATUS
approved