OFFSET
1,1
COMMENTS
Row 2 of A203291.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 3*a(n-1) -2*a(n-2) -2*a(n-3) +3*a(n-4) -a(n-5).
Conjectures from Colin Barker, Jun 04 2018: (Start)
G.f.: x*(3 - 3*x + 3*x^3 - x^4) / ((1 - x)^4*(1 + x)).
a(n) = (24 + 32*n + 6*n^2 + 4*n^3)/24 for n even.
a(n) = (30 + 32*n + 6*n^2 + 4*n^3)/24 for n odd.
(End)
EXAMPLE
All solutions for n=3:
.-2...-3....0...-2...-2...-1...-3...-3...-3...-3...-1...-2
..0....0....0...-1...-2....0...-1...-2...-1...-3...-1...-2
..0....0....0....1....2....0....2....2....1....3....1....1
..2....3....0....2....2....1....2....3....3....3....1....3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 31 2011
STATUS
approved