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

%I #21 Dec 14 2023 05:33:52

%S 1,13,130,1302,13021,130213,1302130,13021302,130213021,1302130213,

%T 13021302130,130213021302,1302130213021,13021302130213,

%U 130213021302130,1302130213021302

%N Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,0,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*(1+3*x+2*x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Aug 04 2013

%t Table[FromDigits[PadRight[{},n,{1,3,0,2}]],{n,20}] (* or *) LinearRecurrence[ {10,0,0,1,-10},{1,13,130,1302,13021},20] (* _Harvey P. Dale_, Apr 23 2020 *)

%K nonn,easy

%O 1,2

%A _Clark Kimberling_