login
9^n - 8.
3

%I #25 Sep 08 2022 08:45:53

%S 1,73,721,6553,59041,531433,4782961,43046713,387420481,3486784393,

%T 31381059601,282429536473,2541865828321,22876792454953,

%U 205891132094641,1853020188851833,16677181699666561,150094635296999113

%N 9^n - 8.

%H Vincenzo Librandi, <a href="/A177095/b177095.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (10,-9).

%F G.f.: x*(1 + 63*x)/(1 - 10*x + 9*x^2). - _Vincenzo Librandi_, Feb 06 2013

%F a(n) = 10*a(n-1) - 9*a(n-2) for n>2, a(1)=1, a(2)=73. - _Vincenzo Librandi_, Feb 06 2013

%t CoefficientList[Series[(1 + 63 x)/(1 - 10 x + 9 x^2), {x, 0, 30}], x] (* _Vincenzo Librandi_, Feb 06 2013 *)

%t LinearRecurrence[{10,-9},{1,73},20] (* _Harvey P. Dale_, May 22 2014 *)

%o (Magma) [9^n-8: n in [1..20]];

%Y Equals A001019(n)-8.

%K nonn,easy

%O 1,2

%A _Vincenzo Librandi_, Nov 15 2010