OFFSET
1,1
COMMENTS
Column 2 of A206137.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 17*a(n-1) - 47*a(n-2) + 41*a(n-3) - 10*a(n-4) for n > 5.
Empirical g.f.: 4*x*(3 - 5*x)*(47 - 165*x + 148*x^2 - 36*x^3) / ((1 - x)*(1 - 16*x + 31*x^2 - 10*x^3)). - Colin Barker, Jun 13 2018
EXAMPLE
Some solutions for n=4:
1 0 1 0 2 1 1 2 1 3 1 3 0 2 3 0 3 2 2 1 2
0 1 2 3 0 2 3 0 3 0 3 2 1 3 2 1 0 3 3 2 3
3 0 1 0 1 0 0 2 1 1 0 3 3 2 0 2 1 0 0 3 0
0 1 3 3 0 3 3 0 2 3 1 0 2 3 1 3 2 1 2 1 2
2 3 1 0 1 0 2 3 0 2 0 3 1 2 3 0 3 2 3 2 1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 04 2012
STATUS
approved