OFFSET
1,2
COMMENTS
Row 5 of A229586.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 32*a(n-1) - 384*a(n-2) + 2200*a(n-3) - 6494*a(n-4) + 9016*a(n-5) - 816*a(n-6) - 14888*a(n-7) + 18879*a(n-8) - 5464*a(n-9) - 7472*a(n-10) + 8336*a(n-11) - 3648*a(n-12) + 768*a(n-13) - 64*a(n-14) for n > 18.
EXAMPLE
Some solutions for n=3:
0 1 0 0 1 0 0 1 0 0 1 2 0 1 2 0 1 0 0 1 2
0 2 0 2 1 1 1 2 0 0 1 0 0 1 0 0 1 2 2 0 1
0 2 0 2 0 2 0 2 0 1 2 1 0 1 0 2 1 1 1 2 0
0 2 1 2 0 1 1 2 0 1 0 2 0 2 0 2 0 1 1 2 0
2 0 2 1 2 1 1 2 1 2 0 2 1 0 2 1 0 1 2 1 2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Sep 26 2013
STATUS
approved