OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (12,-35,24).
FORMULA
a(n) = 11*a(n-1) - 24*a(n-2) + 1 with a(0) = 1, a(1) = 12. - Vincenzo Librandi, Feb 10 2011
a(n) = (2*8^(n+2) - 7*3^(n+2) + 5)/70. - Yahia Kahloune, May 19 2013
E.g.f.: exp(x)*(5 - 63*exp(2*x) + 128*exp(7*x))/70. - Stefano Spezia, Oct 25 2023
MAPLE
a:=n->sum((8^(n-j+1)-3^(n-j+1))/5, j=0..n+1): seq(a(n), n=0..19); # Zerinvary Lajos, Jan 15 2007
MATHEMATICA
CoefficientList[Series[1/((1-x)*(1-3*x)(1-8*x)), {x, 0, 21}], x] (* Stefano Spezia, Oct 25 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
a(19)-a(21) from Stefano Spezia, Oct 25 2023
STATUS
approved