editing
approved
editing
approved
G.f.: 1/((1-x)*(1-8*x)*(1-9*x)).
a(n) = 18*a(n-1) - 89*a(n-2) + 72*a(n-3). - Wesley Ivan Hurt, Apr 20 2023
approved
editing
proposed
approved
editing
proposed
<a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (18,-89,72)
proposed
editing
editing
proposed
a(n) = 17*a(n-1) - 72*a(n-2) + 1. - _Vincenzo Librandi, _, Feb 10 2011
a(n) = 9^(n+2)/8 - 8^(n+2)/7 + 1/56. - _R. J. Mathar, _, Mar 14 2011
a:=n->sum(9^(n-j)-8^(n-j), j=0..n): seq(a(n), n=1..19); - _# _Zerinvary Lajos_, Jan 04 2007
approved
editing
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (18,-89,72)
<a href="/index/Rea#recLCCRec">Index to sequences with linear recurrences with constant coefficients</a>, signature (18,-89,72)
Table[(-8^(n + 2) + 7*9^(n + 1) + 1)/56, {n, 40}] (* and *) CoefficientList[Series[1/((1 - z) (1 - 8*z) (1 - 9*z)), {z, 0, 40}], z] (* From _Vladimir Joseph Stephan Orlovsky, _, Jul 21 2011 *)