%I #9 Jul 20 2020 19:34:15
%S 2,19,173,1559,14032,126290,1136612,10229509,92065583,828590249,
%T 7457312242,67115810180,604042291622,5436380624599,48927425621393,
%U 440346830592539,3963121475332852
%N Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,2.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (9,0,1,-9).
%F G.f.: x*(2+x+2*x^2) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 26 2015
%t Table[FromDigits[PadRight[{},n,{2,1,2}],9],{n,20}] (* or *) LinearRecurrence[ {9,0,1,-9},{2,19,173,1559},20] (* _Harvey P. Dale_, Jul 20 2020 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_
|