login
A074612
a(n) = 4^n + 6^n.
3
2, 10, 52, 280, 1552, 8800, 50752, 296320, 1745152, 10339840, 61514752, 366991360, 2193559552, 13127802880, 78632599552, 471258726400, 2825404874752, 16943839313920, 101628676145152, 609634617917440
OFFSET
0,1
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
A074612:=n->4^n+6^n: seq(A074612(n), n=0..30); # Wesley Ivan Hurt, Apr 27 2017
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
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 26 2002
STATUS
approved