OFFSET
1,2
COMMENTS
Row 5 of A229637.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 18*a(n-1) - 15*a(n-2) - 1191*a(n-3) + 3468*a(n-4) + 31983*a(n-5) - 108707*a(n-6) - 424479*a(n-7) + 1614489*a(n-8) + 2851598*a(n-9) - 13478352*a(n-10) - 7797810*a(n-11) + 66347438*a(n-12) - 12632640*a(n-13) - 190067859*a(n-14) + 147888798*a(n-15) + 287096430*a(n-16) - 412178619*a(n-17) - 138135927*a(n-18) + 522690894*a(n-19) - 168525432*a(n-20) - 273411640*a(n-21) + 227616084*a(n-22) + 9610272*a(n-23) - 73617984*a(n-24) + 21460464*a(n-25) + 7359984*a(n-26) - 4611168*a(n-27) + 186624*a(n-28) + 279936*a(n-29) - 46656*a(n-30) for n > 33.
EXAMPLE
Some solutions for n=3:
0 1 2 0 1 0 0 1 2 0 1 1 0 1 0 0 1 2 0 1 2
2 1 2 2 1 2 0 1 2 0 1 0 0 2 0 0 1 0 2 1 0
1 0 2 2 0 2 0 2 0 2 1 2 0 2 0 2 2 0 2 1 2
2 1 2 2 0 1 0 2 1 2 0 2 0 2 1 0 2 0 0 1 0
2 1 0 0 2 1 1 0 1 1 0 2 2 0 1 1 2 0 1 1 2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Sep 27 2013
STATUS
approved