login
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.
0

%I #8 Nov 04 2024 11:14:49

%S 1,7,35,178,891,4457,22285,111428,557141,2785707,13928535,69642678,

%T 348213391,1741066957,8705334785,43526673928,217633369641,

%U 1088166848207,5440834241035,27204171205178,136020856025891,680104280129457

%N Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,0,0,1,-5).

%F G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Oct 11 2015

%t Table[FromDigits[PadRight[{},n,{1,2,0,3}],5],{n,30}] (* _Harvey P. Dale_, Nov 04 2024 *)

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_