login
A185964
Diagonal sums of number triangle A185962.
2
1, -1, 0, -2, 1, 0, 4, 0, 1, -7, -3, -5, 10, 9, 16, -9, -17, -40, -6, 19, 82, 54, 10, -135, -161, -127, 153, 340, 433, 0, -527, -1053, -620, 434, 2013, 2200, 712, -2880, -5267, -4491, 1981, 9635, 13350, 4897, -12392
OFFSET
0,4
FORMULA
G.f.: (1-x)^2/(1-x+2*x^3-x^4).
a(n) = Sum_{k=0..floor(n/2)} A185962(n-k,k).
MATHEMATICA
CoefficientList[Series[(1 - x)^2/(1 - x + 2*x^3 - x^4), {x, 0, 50}], x] (* G. C. Greubel, Jul 23 2017 *)
PROG
(PARI) x='x+O('x^50); Vec((1 - x)^2/(1 - x + 2*x^3 - x^4)) \\ G. C. Greubel, Jul 23 2017
CROSSREFS
Cf. A185962.
Sequence in context: A191897 A088850 A363032 * A143424 A130125 A336517
KEYWORD
sign,easy
AUTHOR
Paul Barry, Feb 07 2011
EXTENSIONS
More terms from Philippe Deléham, Feb 07 2012
STATUS
approved