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

%I #10 Mar 20 2026 14:49:10

%S 2,17,136,1091,8730,69841,558728,4469827,35758618,286068945,

%T 2288551560,18308412483,146467299866,1171738398929,9373907191432,

%U 74991257531459,599930060251674,4799440482013393

%N Base 8 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 (8,0,0,1,-8).

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

%t Table[FromDigits[PadRight[{},n,{2,1,0,3}],8],{n,20}] (* or *) LinearRecurrence[{8,0,0,1,-8},{2,17,136,1091,8730},20] (* _Harvey P. Dale_, Mar 20 2026 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_