%I #9 Mar 14 2023 16:57:30
%S 2,14,85,512,3074,18445,110672,664034,3984205,23905232,143431394,
%T 860588365,5163530192,30981181154,185887086925,1115322521552,
%U 6691935129314,40151610775885,240909664655312,1445457987931874
%N Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,2,1.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (6,0,1,-6).
%F G.f.: x*(2+2*x+x^2) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 30 2015
%t Table[FromDigits[PadRight[{},n,{2,2,1}],6],{n,20}] (* or *) LinearRecurrence[{6,0,1,-6},{2,14,85,512},20] (* _Harvey P. Dale_, Mar 14 2023 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_
|