OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) +a(n-2) +2*a(n-4) +a(n-5).
Empirical g.f.: 2*x*(18 + 11*x + 6*x^2 + 18*x^3 + 8*x^4) / (1 - 2*x - x^2 - 2*x^4 - x^5). - Colin Barker, Oct 15 2017
EXAMPLE
Some solutions for n=3:
..1....0....1....3....0....1....1....2....0....0....3....0....0....0....0....3
..2....1....3....1....2....0....1....2....3....1....2....2....0....0....0....2
..2....2....3....1....3....0....0....2....3....3....2....3....0....2....2....0
..1....2....3....2....3....2....0....2....3....3....1....3....1....2....3....0
..0....3....0....3....3....2....3....1....2....1....1....2....2....0....3....3
MATHEMATICA
a[0, x_, y_] := 1; a[n_, x_, y_] := a[n, x, y] = Sum[If[z <=x<= y || y <=x<= z, a[n-1, z, x], 0], {z, 4}]; a[n_] := Sum[a[n, x, y], {x, 4}, {y, 4}]; Array[a, 25] (* Giovanni Resta, Mar 05 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 23 2011
STATUS
approved