OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) + 13*a(n-2) - 39*a(n-3) - 26*a(n-4) + 78*a(n-5).
Empirical g.f.: 4*x*(20 + 4*x - 250*x^2 - 13*x^3 + 501*x^4) / ((1 - 3*x)*(1 - 13*x^2 + 26*x^4)). - Colin Barker, Oct 17 2018
EXAMPLE
Some solutions for n=4:
0 3 4 2 3 2 5 2 5 2 1 2 0 1 4 1 2 5 2 5
1 0 2 4 5 0 3 4 3 4 4 1 5 2 3 4 4 3 5 4
0 3 4 2 2 1 4 1 0 5 3 4 2 3 4 1 2 5 0 3
1 0 2 4 5 0 1 2 2 3 0 5 0 5 1 2 4 3 2 1
2 5 3 1 2 1 3 0 5 2 3 4 1 2 4 1 2 5 0 3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 03 2014
STATUS
approved