OFFSET
0,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..1182
Index entries for linear recurrences with constant coefficients, signature (14,-59,70).
FORMULA
a(n-2) = ((7^n - 2^n)/5 - (5^n - 2^n)/3)/2. - Zerinvary Lajos, Jun 05 2009
a(n) = 14*a(n-1) - 59*a(n-2) + 70*a(n-3), n >= 3. - Vincenzo Librandi, Mar 16 2011
a(n) = 12*a(n-1) - 35*a(n-2) + 2^n, n >= 2. - Vincenzo Librandi, Mar 16 2011
MATHEMATICA
CoefficientList[Series[1/((1 - 2 x) (1 - 5 x) (1 - 7 x)), {x, 0, 18}], x] (* Michael De Vlieger, Jan 31 2018 *)
LinearRecurrence[{14, -59, 70}, {1, 14, 137}, 30] (* Harvey P. Dale, Aug 11 2021 *)
PROG
(Sage) [((7^n - 2^n)/5-(5^n - 2^n)/3)/2 for n in range(2, 21)] # Zerinvary Lajos, Jun 05 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved