OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 10*a(n-1) +16*a(n-2) -460*a(n-3) +789*a(n-4) +7170*a(n-5) -23944*a(n-6) -39920*a(n-7) +246076*a(n-8) -38440*a(n-9) -1115136*a(n-10) +1151040*a(n-11) +2005056*a(n-12) -3657600*a(n-13) -331776*a(n-14) +3456000*a(n-15) -1658880*a(n-16).
EXAMPLE
Some solutions for n=4:
2 1 2 4 4 4 1 4 4 1 1 4 1 1 4 2 0 2 0 2
2 4 2 1 4 4 4 4 1 1 1 1 1 4 4 1 2 1 2 1
2 1 2 4 4 1 4 1 1 4 4 1 4 4 1 3 1 3 1 3
1 3 1 0 3 3 3 3 0 0 4 4 4 1 1 1 2 1 2 1
4 3 4 0 0 4 1 4 4 1 0 3 0 0 3 4 2 4 2 4
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 21 2013
STATUS
approved