OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-4).
FORMULA
MATHEMATICA
CoefficientList[Series[(1+x)(1+4x)/((1-x)(1-4x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{5, -4}, {1, 10, 50}, 30] (* Harvey P. Dale, May 27 2023 *)
PROG
(PARI) a(n) = 0^n + 10*(4^n-1)/3; \\ Ruud H.G. van Tol, Oct 11 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 21 2003
STATUS
approved