login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A128416
Expansion of (1-4x^2)/(1+4x+3x^2).
2
1, -4, 9, -24, 69, -204, 609, -1824, 5469, -16404, 49209, -147624, 442869, -1328604, 3985809, -11957424, 35872269, -107616804, 322850409, -968551224, 2905653669, -8716961004, 26150883009, -78452649024, 235357947069, -706073841204, 2118221523609
OFFSET
0,2
COMMENTS
Diagonal sums of number triangle A128414.
FORMULA
G.f.: (1-4*x^2)/(1+4*x+3*x^2).
For n > 1, |a(n)| = 3*(|a(n-1)| - 1). - Tamas Kalmar-Nagy (integers(AT)kalmarnagy.com), Sep 17 2010
From Colin Barker, Sep 21 2016: (Start)
a(n) = (-1)^n*(9+5*3^n)/6 for n>0.
a(n) = -4*a(n-1)-3*a(n-2) for n>2. (End)
PROG
(PARI) Vec((1-4*x^2)/(1+4*x+3*x^2) + O(x^30)) \\ Colin Barker, Sep 21 2016
CROSSREFS
Cf. A128414.
Sequence in context: A077922 A081149 A059507 * A353978 A334656 A175121
KEYWORD
easy,sign
AUTHOR
Paul Barry, Mar 02 2007
STATUS
approved