OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (11,-34,24).
FORMULA
O.g.f.: 1/(1 - 6*x) - 1/(1 - 4*x) + 1/(1 - x).
E.g.f.: exp(6*x) - exp(4*x) + exp(x).
a(n) = 10*a(n-1)-24*a(n-2)+15 with a(0)=1, a(1)=3 - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[6^n - 4^n + 1, {n, 0, 25}] (* Paolo Xausa, Jun 26 2024 *)
PROG
(PARI) a(n)=6^n-4^n+1 \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 29 2009
STATUS
approved