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 1,0,2.
2

%I #15 May 09 2018 12:55:08

%S 1,5,27,136,680,3402,17011,85055,425277,2126386,10631930,53159652,

%T 265798261,1328991305,6644956527,33224782636,166123913180,

%U 830619565902,4153097829511,20765489147555,103827445737777,519137228688886

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

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (5,0,1,-5).

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

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

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_