|
|
A113142
|
|
Expansion of x(1-3x+x^2+x^3)/(1+x)^2.
|
|
1
|
|
|
0, 1, -5, 10, -14, 18, -22, 26, -30, 34, -38, 42, -46, 50, -54, 58, -62, 66, -70, 74, -78, 82, -86, 90, -94, 98, -102, 106, -110, 114, -118, 122, -126, 130, -134, 138, -142, 146, -150, 154, -158, 162, -166, 170, -174, 178, -182, 186
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Second column in number triangle A113141.
|
|
LINKS
|
|
|
FORMULA
|
a(n)=-(-1)^n*(4n-2-C(1, n-1)+2*C(0, n)).
|
|
MATHEMATICA
|
CoefficientList[Series[(x(1-3x+x^2+x^3))/(1+x)^2, {x, 0, 100}], x] (* or *) LinearRecurrence[{-2, -1}, {0, 1, -5, 10, -14}, 100] (* Harvey P. Dale, Mar 23 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,sign
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|