Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #14 Jul 23 2021 02:44:56
%S 2,13,66,332,1663,8316,41582,207913,1039566,5197832,25989163,
%T 129945816,649729082,3248645413,16243227066,81216135332,406080676663,
%U 2030403383316,10152016916582,50760084582913,253800422914566
%N Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (5,0,1,-5).
%F G.f.: x*(x+2)*(1+x) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Nov 21 2011
%t Table[FromDigits[PadRight[{},n,{2,3,1}],5],{n,30}] (* or *) LinearRecurrence[ {5,0,1,-5},{2,13,66,332},30] (* _Harvey P. Dale_, Jul 06 2020 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_