OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-24).
FORMULA
From Mohammad K. Azarian, Jan 11 2009: (Start)
G.f.: 1/(1-4*x) + 1/(1-6*x).
E.g.f.: exp(4*x) + exp(6*x). (End)
a(n) = 10*a(n-1) - 24*a(n-2) with a(0)=2, a(1)=10. - Vincenzo Librandi, Jul 21 2010
MAPLE
MATHEMATICA
Table[4^n + 6^n, {n, 0, 25}]
LinearRecurrence[{10, -24}, {2, 10}, 30] (* G. C. Greubel, Jan 13 2024 *)
PROG
(Magma) [4^n+6^n: n in [0..30]]; // G. C. Greubel, Jan 13 2024
(SageMath) [4^n+6^n for n in range(31)] # G. C. Greubel, Jan 13 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 26 2002
STATUS
approved