OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..200
FORMULA
Empirical: a(n) = 2*a(n-1) -a(n-2) +a(n-3) -2*a(n-4) +a(n-5)
a(3*k-2) = ((3*k+1)^2)/3 - 7/3.
a(3*k-1) = ((3*k+2)^2)/3 - 7/3.
a(3*k) = ((3*k+3)^2)/3 - 1 = 3*(k+1)^2 - 1.
a(3*k+1) = ((3*k+4)^2)/3 - 7/3.
a(3*k+2) = ((3*k+5)^2)/3 - 7/3 ... and so on.
The terms a(3*k-1) and a(3*k+1) seem to be terms of A241199: numbers n such that 4 consecutive terms of binomial(n,k) satisfy a quadratic relation for 0 <= k <= n/2. - Avi Friedlich, Apr 28 2015
Empirical g.f.: -x*(2*x^4-5*x^3+2*x^2+3) / ((x-1)^3*(x^2+x+1)). - Colin Barker, Apr 28 2015
EXAMPLE
Some solutions for n=6:
..3....4....2....6....5....2....0....6....1....0....0....5....6....1....4....3
.-2....0....1...-2....6....3...-1...-1....2....1....1....0...-3....0...-1....1
.-1....1....2...-1...-6...-3....0....0....3....2...-1....1...-2....1....0....2
..0...-5...-5...-3...-5...-2....1...-5...-6...-3....0...-6...-1...-2...-3...-6
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 13 2011
STATUS
approved