login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #9 Nov 15 2020 12:22:54

%S 3,17,86,430,2153,10767,53836,269180,1345903,6729517,33647586,

%T 168237930,841189653,4205948267,21029741336,105148706680,525743533403,

%U 2628717667017,13143588335086,65717941675430,328589708377153

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

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

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_