OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 90112*n^2 - 1032064*n + 3059590 for n>9.
Conjectures from Colin Barker, Dec 07 2018: (Start)
G.f.: x*(16 + 37*x + 322*x^2 + 2017*x^3 + 9935*x^4 + 32656*x^5 + 60328*x^6 + 54521*x^7 + 15495*x^8 + 4171*x^9 + 676*x^10 + 50*x^11) / (1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>12.
(End)
EXAMPLE
Some solutions for n=4:
..0..0..1..1..2..3....0..1..2..2..3..4....0..1..2..3..3..3....0..1..2..2..3..4
..0..1..1..2..2..3....1..1..2..3..3..4....1..1..2..3..3..3....1..1..2..2..3..4
..1..1..1..2..2..3....1..1..2..3..3..4....1..2..2..3..3..3....1..2..2..3..3..4
..1..1..1..2..2..3....1..2..2..3..4..4....2..2..3..3..3..4....1..2..3..3..3..4
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 22 2014
STATUS
approved