OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-26,24).
FORMULA
a(n) = 9*a(n-1)-26*a(n-2)+24*a(n-3) = 2*4^n+4*3^n-2^n. G.f.: (5-27x+32x^2)/((1-2x)(1-3x)(1-4x)). [R. J. Mathar, Nov 09 2008]
MATHEMATICA
Table[2*4^n+4*3^n-2^n, {n, 0, 20}] (* or *) LinearRecurrence[{9, -26, 24}, {5, 18, 64}, 30] (* Harvey P. Dale, Jun 08 2024 *)
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Roger L. Bagula, Nov 06 2008
EXTENSIONS
Meaningful name from Joerg Arndt, Dec 26 2022
STATUS
approved