OFFSET
1,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,11,-2).
FORMULA
a(n+1) = 4*a(n) + 11*a(n-1) - 2*a(n-3).
G.f.: x*(1+3*x)/((2*x+1)* (1-6*x+x^2)).
MATHEMATICA
LinearRecurrence[{4, 11, -2}, {1, 7, 39}, 25] (* Paolo Xausa, Jul 19 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson and Roger L. Bagula, Sep 17 2006
EXTENSIONS
More terms from Paolo P. Lava, Jul 09 2008
STATUS
approved