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 (13,-36).
FORMULA
a(n) = 2^(2*n) + 3^(2*n).
G.f.: (2-13*x)/((1-4*x)*(1-9*x)).
E.g.f.: e^(4*x) + e^(10*x). - Mohammad K. Azarian, Jan 11 2009
a(n) = 13*a(n-1) - 36*a(n-2) with a(0)=2, a(1)=13. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[4^n + 9^n, {n, 0, 25}]
LinearRecurrence[{13, -36}, {2, 13}, 30] (* Harvey P. Dale, Aug 11 2017 *)
PROG
(PARI) a(n)=4^n+9^n \\ Charles R Greathouse IV, Jul 01 2016
(Magma) [4^n+9^n: n in [0..30]]; // G. C. Greubel, Mar 10 2023
(SageMath) [4^n+9^n for n in range(31)] # G. C. Greubel, Mar 10 2023
CROSSREFS
Bisection of A007689 (even-indexed members).
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 26 2002
STATUS
approved