OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (15,-62,48).
FORMULA
a(n) = 14*a(n-1) - 48*a(n-2) + 1 with a(0)=1, a(1)=15. - Vincenzo Librandi, Feb 10 2011
a(n) = (5*8^(n+2) - 7*6^(n+2) + 2)/70. - Yahia Kahloune, May 19 2013
E.g.f.: (1/35)*(exp(x) - 126*exp(6*x) + 160*exp(8*x)). - G. C. Greubel, Jan 30 2022
MATHEMATICA
Table[(5*8^(n + 2) - 7*6^(n + 2) + 2)/70, {n, 0, 20}] (* Wesley Ivan Hurt, Jun 06 2014 *)
PROG
(Magma) [(5*8^(n+2) - 7*6^(n+2) + 2)/70 : n in [0..50]]; // Wesley Ivan Hurt, Jun 06 2014
(Sage) [(20*8^(n+1) -21*6^(n+1) +1)/35 for n in (0..30)] # G. C. Greubel, Jan 30 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 11 1999
STATUS
approved