%I #20 Dec 14 2023 05:30:55
%S 3,30,301,3012,30123,301230,3012301,30123012,301230123,3012301230,
%T 30123012301,301230123012,3012301230123,30123012301230,
%U 301230123012301,3012301230123012
%N Decimal expansion of a(n) is given by 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 (10,0,0,1,-10).
%F G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Aug 04 2013
%t Table[FromDigits[PadRight[{},n,{3,0,1,2}]],{n,20}] (* _Harvey P. Dale_, Dec 07 2015 *)
%o (PARI) Vec(x*(3+x^2+2*x^3)/((x-1)*(10*x-1)*(1+x)*(x^2+1)) + O(x^25)) \\ _Jinyuan Wang_, Apr 14 2020
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_