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

%I #9 May 17 2018 16:53:51

%S 3,16,82,410,2053,10266,51332,256660,1283303,6416516,32082582,

%T 160412910,802064553,4010322766,20051613832,100258069160,501290345803,

%U 2506451729016,12532258645082,62661293225410,313306466127053

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

%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*(3+x+2*x^2) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, May 01 2015

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

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_