OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (12,-35).
FORMULA
a(n) = 7*a(n-1) + 6*5^(n-1).
a(n) = 4*7^n - 3*5^n.
G.f.: (1+x)/((1-5*x)*(1-7*x)). - Vincenzo Librandi, Aug 06 2013
E.g.f.: exp(5*x)*(4*exp(2*x) - 3). - Stefano Spezia, Jul 23 2024
MATHEMATICA
CoefficientList[Series[(1 + x) / ((1 - 5 x) (1 - 7 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2013 *)
LinearRecurrence[{12, -35}, {1, 13}, 30] (* Harvey P. Dale, Aug 18 2015 *)
PROG
(Magma) [4*7^n-3*5^n: n in [0..25]]; // Vincenzo Librandi, Aug 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 03 2003
STATUS
approved