%I #16 Sep 08 2022 08:46:00
%S 5,49,445,4009,36085,324769,2922925,26306329,236756965,2130812689,
%T 19177314205,172595827849,1553362450645,13980262055809,
%U 125822358502285,1132401226520569,10191611038685125,91724499348166129,825520494133495165
%N (11*9^n-1)/2.
%H Vincenzo Librandi, <a href="/A198969/b198969.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (10,-9).
%F a(n) = 9*a(n-1)+4. a(n) = 10*a(n-1)-9*a(n-2), n>1.
%F G.f.: (5 - x)/(1 - 10*x + 9*x^2). - _Vincenzo Librandi_, Jan 03 2013
%t CoefficientList[Series[(5 - x)/(1 - 10*x + 9*x^2), {x, 0, 30}], x] (* _Vincenzo Librandi_, Jan 03 2013 *)
%t LinearRecurrence[{10,-9},{5,49},20] (* _Harvey P. Dale_, Oct 16 2021 *)
%o (Magma) [(11*9^n-1)/2: n in [0..20]]
%K nonn,easy
%O 0,1
%A _Vincenzo Librandi_, Nov 01 2011
|