OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (15,-62,48).
FORMULA
G.f.: 1/(1-8*x)+1/(1-6*x)-1/(1-x). E.g.f.: e^(8*x)+e^(6*x)-e^x.
a(n) = 14*a(n-1)-48*a(n-2)-35 with a(0)=1, a(1)=13. [Vincenzo Librandi, Jul 21 2010]
a(0)=1, a(1)=13, a(2)=99, a(n) = 15*a(n-1)-62*a(n-2)+48*a(n-3). [Harvey P. Dale, Jul 17 2011]
MATHEMATICA
Table[8^n+6^n-1, {n, 0, 20}] (* or *) LinearRecurrence[{15, -62, 48}, {1, 13, 99}, 20] (* Harvey P. Dale, Jul 17 2011 *)
PROG
(PARI) a(n)= 8^n+6^n-1 \\ Charles R Greathouse IV, Jul 31 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 31 2009
STATUS
approved