Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #13 Sep 08 2022 08:46:00
%S 1,17,161,1457,13121,118097,1062881,9565937,86093441,774840977,
%T 6973568801,62762119217,564859072961,5083731656657,45753584909921,
%U 411782264189297,3706040377703681,33354363399333137,300189270593998241
%N 2*9^n-1.
%H Vincenzo Librandi, <a href="/A198859/b198859.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)+8. a(n) = 10*a(n-1)-9*a(n-2), n>1.
%F G.f.: (7*x+1)/(9*x^2-10*x+1). - _Harvey P. Dale_, Jan 01 2013
%t 2*9^Range[0,30]-1 (* or *) LinearRecurrence[{10,-9},{1,17},30] (* _Harvey P. Dale_, Jan 01 2013 *)
%o (Magma) [2*9^n-1: n in [0..20]]
%K nonn,easy
%O 0,2
%A _Vincenzo Librandi_, Nov 01 2011