%I #9 Jul 03 2021 17:53:47
%S 3,27,244,2198,19785,178065,1602586,14423276,129809487,1168285383,
%T 10514568448,94631116034,851680044309,7665120398781,68986083589030,
%U 620874752301272,5587872770711451
%N Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1,2.
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (9,0,0,1,-9)
%F G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, May 02 2015
%t Table[FromDigits[PadRight[{},n,{3,0,1,2}],9],{n,20}] (* or *) LinearRecurrence[{9,0,0,1,-9},{3,27,244,2198,19785},20] (* _Harvey P. Dale_, Jul 03 2021 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_
|