OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (16,-71,56).
FORMULA
a(0)=1, a(1)=16, a(n) = 15*a(n-1) - 56*a(n-2) + 1. - Vincenzo Librandi, Feb 10 2011
MATHEMATICA
Table[(3*2^(3*n + 4) - 7^(n + 2) + 1)/42, {n, 40}] (* or *) CoefficientList[Series[1/((1 - z) (1 - 7*z) (1 - 8*z)), {z, 0, 40}], z] (* Vladimir Joseph Stephan Orlovsky, Jul 21 2011 *)
LinearRecurrence[{16, -71, 56}, {1, 16, 185}, 30] (* Harvey P. Dale, May 14 2023 *)
PROG
(PARI) Vec(1/((1-x)*(1-7*x)*(1-8*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved