login
A112335
Row sums of number triangle A112334.
1
1, -1, -4, -7, -10, -13, -16, -19, -22, -25, -28, -31, -34, -37, -40, -43, -46, -49, -52, -55, -58, -61, -64, -67, -70, -73, -76, -79, -82, -85, -88, -91, -94, -97, -100, -103, -106, -109, -112, -115, -118, -121, -124, -127, -130, -133, -136, -139, -142, -145, -148, -151, -154, -157, -160, -163, -166, -169
OFFSET
0,3
FORMULA
G.f.: (1-3x-x^2)/(1-x)^2.
E.g.f.: exp(x)*(2-3x)-1.
a(n) = 2 - 3n - 0^n.
MATHEMATICA
LinearRecurrence[{2, -1}, {1, -1, -4}, 60] (* Harvey P. Dale, Apr 21 2016 *)
CROSSREFS
Cf. A016777.
Sequence in context: A360472 A190084 A145289 * A016777 A308014 A143460
KEYWORD
easy,sign
AUTHOR
Paul Barry, Sep 04 2005
STATUS
approved