OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 5*a(n-1) + a(n-2) - 38*a(n-3) + 33*a(n-4) + 97*a(n-5) - 127*a(n-6) - 88*a(n-7) + 154*a(n-8) + 12*a(n-9) - 48*a(n-10).
Empirical g.f.: 8*x*(85 - 286*x - 541*x^2 + 2341*x^3 + 870*x^4 - 6741*x^5 + 404*x^6 + 7812*x^7 - 1320*x^8 - 2800*x^9) / ((1 - x)*(1 - 2*x)*(1 - x - x^2)*(1 - 2*x^2)*(1 - 3*x^2)*(1 - x - 4*x^2)). - Colin Barker, Oct 17 2018
EXAMPLE
Some solutions for n=4:
1 3 2 4 2 3 1 2 0 2 2 4 3 2 4 2 3 2 3 2
2 1 3 2 3 2 3 1 2 1 1 0 2 4 3 4 2 4 2 4
0 2 1 3 1 4 2 3 1 3 2 4 3 2 4 3 4 3 4 3
1 0 2 1 2 3 4 2 3 2 1 0 2 4 3 2 0 2 0 2
0 2 1 3 1 4 2 3 1 3 2 4 3 2 4 0 1 0 1 0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 02 2014
STATUS
approved