OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (14,-48).
FORMULA
a(n) = 8*a(n-1) + 7*6^(n-1).
a(n) = (9/2)*8^n - (7/2)*6^n.
From Harvey P. Dale, Jun 16 2013: (Start)
a(0)=1, a(1)=15, a(n) = 14*a(n-1)-48*a(n-2).
G.f.: (x+1)/(48*x^2-14*x+1). (End)
E.g.f.: exp(6*x)*(9*exp(2*x) - 7)/2. - Stefano Spezia, Jul 23 2024
MATHEMATICA
RecurrenceTable[{a[0]==1, a[n]==8a[n-1]+7*6^(n-1)}, a, {n, 20}] (* or *) LinearRecurrence[{14, -48}, {1, 15}, 20] (* Harvey P. Dale, Jun 16 2013 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 03 2003
STATUS
approved