%I #12 Sep 08 2022 08:45:50
%S 8,18,118,1118,11118,111118,1111118,11111118,111111118,1111111118,
%T 11111111118,111111111118,1111111111118,11111111111118,
%U 111111111111118,1111111111111118,11111111111111118,111111111111111118
%N (10^n+62)/9 for n>0.
%H Vincenzo Librandi, <a href="/A173734/b173734.txt">Table of n, a(n) for n = 1..100</a>
%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (11,-10).
%F a(n) = a(n-1)+10^(n-1)= 10*a(n-1)-62 with n>0, a(0)=7.
%F G.f.: x*(8-70*x)/((1-x)*(1-10*x)). - _Vincenzo Librandi_, Jul 05 2012
%F a(n) = 11*a(n-1) -10*a(n-2). - _Vincenzo Librandi_, Jul 05 2012
%t CoefficientList[Series[(8-70*x)/((1-x)*(1-10*x)),{x,0,30}],x] (* _Vincenzo Librandi_, Jul 05 2012 *)
%o (Magma) [(10^n+62)/9: n in [1..20]]; // _Vincenzo Librandi_, Jul 05 2012
%K nonn,easy
%O 1,1
%A _Vincenzo Librandi_, Feb 23 2010