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) - 4*a(n-3) + a(n-4) + 2*a(n-5) - a(n-6).
Also as a cubic plus a linear quasipolynomial with period 2:
Empirical for n mod 2 = 0: a(n) = (9/2)*n^3 + (3/2)*n^2 + 1*n + 1
Empirical for n mod 2 = 1: a(n) = (9/2)*n^3 + (3/2)*n^2 - (1/2)*n + (5/2).
Empirical g.f.: x*(8 + 29*x + 38*x^2 + 32*x^3 + 2*x^4 - x^5) / ((1 - x)^4*(1 + x)^2). - Colin Barker, Nov 07 2018
EXAMPLE
Some solutions for n=6:
..4....0....4....5....6....4....3....3....0....4....3....0....6....5....3....0
..3....4....4....4....1....2....0....2....5....4....5....1....3....4....1....2
..3....6....3....2....4....3....3....4....1....5....5....3....2....6....4....0
..4....2....3....3....3....3....0....3....6....5....3....4....5....5....6....2
..4....4....4....3....6....4....3....1....2....6....3....6....0....5....3....0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Sep 18 2014
STATUS
approved