OFFSET
0,2
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-23,15).
FORMULA
a(n)=5*5^n/8+3*3^n/4-3/8.
MATHEMATICA
CoefficientList[Series[(1-4x)/((1-x)(1-3x)(1-5x)), {x, 0, 30}], x] (* Harvey P. Dale, May 04 2026 *)
(* Alternative: *)
LinearRecurrence[{9, -23, 15}, {1, 5, 22}, 30] (* Harvey P. Dale, May 04 2026 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 03 2003
STATUS
approved
