OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (11,-38,40).
FORMULA
a(n) = (2/3)*2^n - 8*(4)^n + (25/3)*5^n. - Antonio Alberto Olivares, May 12 2012
MATHEMATICA
CoefficientList[ Series[ 1/((1 - 2x)(1 - 4x)(1 - 5x)), {x, 0, 20} ], x ]
LinearRecurrence[{11, -38, 40}, {1, 11, 83}, 30] (* Harvey P. Dale, Nov 29 2022 *)
PROG
(Sage) [(5^n - 2^n)/3-(4^n - 2^n)/2 for n in range(2, 21)] # Zerinvary Lajos, Jun 05 2009
(PARI) Vec(1/((1-2*x)*(1-4*x)*(1-5*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved