|
|
A200039
|
|
Number of -n..n arrays x(0..2) of 3 elements with sum zero and with zeroth through 2nd differences all nonzero.
|
|
1
|
|
|
0, 2, 14, 28, 52, 78, 114, 152, 200, 250, 310, 372, 444, 518, 602, 688, 784, 882, 990, 1100, 1220, 1342, 1474, 1608, 1752, 1898, 2054, 2212, 2380, 2550, 2730, 2912, 3104, 3298, 3502, 3708, 3924, 4142, 4370, 4600, 4840, 5082, 5334, 5588, 5852, 6118, 6394
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 2*a(n-1) -2*a(n-3) +a(n-4).
G.f.: 2*x^2*(1 + 5*x) / ((1 - x)^3*(1 + x)).
a(n) = -5*n + 3*n^2 for n even.
a(n) = 2 - 5*n + 3*n^2 for n odd.
(End)
|
|
EXAMPLE
|
Some solutions for n=6:
.-3....3...-1...-4....3...-5....4...-5...-6...-6....2....1....3....5....6....6
.-1....2....3....1...-2....6...-6...-1....2....1...-4....3....1...-6...-1...-5
..4...-5...-2....3...-1...-1....2....6....4....5....2...-4...-4....1...-5...-1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|