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

%I #9 May 08 2018 14:43:22

%S 3,15,76,382,1913,9565,47826,239132,1195663,5978315,29891576,

%T 149457882,747289413,3736447065,18682235326,93411176632,467055883163,

%U 2335279415815,11676397079076,58381985395382,291909926976913

%N Base 5 digits are, in order, 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 (5,0,0,1,-5).

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

%t Table[FromDigits[PadRight[{},n,{3,0,1,2}],5],{n,30}] (* or *) LinearRecurrence[ {5,0,0,1,-5},{3,15,76,382,1913},30] (* _Harvey P. Dale_, May 08 2018 *)

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_