login
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,0,3,1.
0

%I #23 Sep 25 2024 18:13:53

%S 2,20,203,2031,20312,203120,2031203,20312031,203120312,2031203120,

%T 20312031203,203120312031,2031203120312,20312031203120,

%U 203120312031203,2031203120312031

%N Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,0,3,1.

%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*(2+3*x^2+x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Nov 21 2011

%t Table[FromDigits[PadRight[{},n,{2,0,3,1}]],{n,20}] (* _Harvey P. Dale_, Sep 25 2024 *)

%o (PARI) Vec(x*(2+3*x^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_