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

%I #8 Sep 11 2019 10:40:41

%S 2,11,55,278,1392,6961,34805,174028,870142,4350711,21753555,108767778,

%T 543838892,2719194461,13595972305,67979861528,339899307642,

%U 1699496538211,8497482691055,42487413455278,212437067276392,1062185336381961

%N Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,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*(2+x+3*x^3) ) / ( (x-1)*(5*x-1)*(1+x)*(1+x^2) ). - _R. J. Mathar_, Oct 14 2015

%t Table[FromDigits[PadRight[{},n,{2,1,0,3}],5],{n,30}] (* or *) LinearRecurrence[ {5,0,0,1,-5},{2,11,55,278,1392},30] (* _Harvey P. Dale_, Sep 11 2019 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_