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

%I #8 Jun 16 2023 15:14:18

%S 1,9,56,336,2017,12105,72632,435792,2614753,15688521,94131128,

%T 564786768,3388720609,20332323657,121993941944,731963651664,

%U 4391781909985,26350691459913,158104148759480,948624892556880,5691749355341281

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

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (7,-7,7,-6).

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

%t Table[FromDigits[PadRight[{},n,{1,3,2,0}],6],{n,30}] (* or *) LinearRecurrence[{7,-7,7,-6},{1,9,56,336},30] (* _Harvey P. Dale_, Jun 16 2023 *)

%K nonn,base

%O 1,2

%A _Clark Kimberling_