%I #9 Mar 15 2016 13:17:45
%S 3,27,244,2199,19791,178120,1603083,14427747,129849724,1168647519,
%T 10517827671,94660449040,851944041363,7667496372267,69007467350404,
%U 621067206153639,5589604855382751
%N Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1.
%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*(3+x^2) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 30 2015
%t Table[FromDigits[PadRight[{},n,{3,0,1}],9],{n,20}] (* or *) LinearRecurrence[ {9,0,1,-9},{3,27,244,2199},20] (* _Harvey P. Dale_, Mar 15 2016 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_