OFFSET
1,2
COMMENTS
Row 4 of A229694.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 27*a(n-1) - 288*a(n-2) + 1557*a(n-3) - 4644*a(n-4) + 8073*a(n-5) - 8343*a(n-6) + 5022*a(n-7) - 1620*a(n-8) + 216*a(n-9) for n > 17.
EXAMPLE
Some solutions for n=3:
0 0 1 0 0 1 0 1 2 0 1 2 0 0 1 0 0 1 0 1 2
2 0 1 2 0 2 2 1 2 0 0 2 2 0 2 2 0 2 0 2 2
1 0 0 1 1 0 2 0 2 1 0 2 2 0 1 2 0 2 1 0 2
1 2 1 0 2 0 0 0 1 1 2 1 0 2 1 1 1 2 2 0 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Sep 27 2013
STATUS
approved