OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 5*a(n-1) +9*a(n-2) -78*a(n-3) +12*a(n-4) +462*a(n-5) -368*a(n-6) -1304*a(n-7) +1433*a(n-8) +1841*a(n-9) -2237*a(n-10) -1346*a(n-11) +1420*a(n-12) +604*a(n-13) -300*a(n-14) -120*a(n-15).
EXAMPLE
Some solutions for n=5:
2 4 2 4 1 2 1 4 4 2 4 1 0 3 1 2 2 1 3 0
3 1 3 1 3 0 3 2 2 4 2 3 3 2 4 1 0 3 1 2
1 3 1 3 1 2 1 4 3 1 3 0 1 4 2 3 2 1 3 0
3 1 3 1 4 1 4 3 0 2 0 1 2 1 3 0 0 3 1 2
1 3 1 3 1 2 1 4 3 1 3 0 0 3 1 2 3 2 4 1
2 0 2 0 3 0 3 2 0 2 0 1 2 1 3 0 1 4 2 3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 03 2014
STATUS
approved