OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From Chai Wah Wu, Jun 16 2026: (Start)
a(n) = 2*a(n-1) - a(n-2) for n > 3.
G.f.: 4*x*(x^2 + 7*x + 1)/(x - 1)^2. (End)
E.g.f.: 4*(9 + 9*exp(x)*(x - 1) + x). - Stefano Spezia, Jun 18 2026
MATHEMATICA
LinearRecurrence[{2, -1}, {0, 4, 36, 72}, 50] (* Paolo Xausa, Jun 18 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Nov 07 2009
STATUS
approved
