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

%I #8 Mar 16 2016 12:19:08

%S 2,17,139,1112,8898,71185,569483,4555864,36446914,291575313,

%T 2332602507,18660820056,149286560450,1194292483601,9554339868811,

%U 76434718950488,611477751603906,4891822012831249

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

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

%F G.f.: ( x*(2+x+3*x^2) ) / ( (x-1)*(8*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Oct 14 2015

%t Table[FromDigits[PadRight[{},n,{2,1,3,0}],8],{n,20}] (* or *) LinearRecurrence[{8,0,0,1,-8},{2,17,139,1112,8898},20] (* _Harvey P. Dale_, Mar 16 2016 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_