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

%I #10 Jun 13 2015 00:49:16

%S 1,9,54,325,1953,11718,70309,421857,2531142,15186853,91121121,

%T 546726726,3280360357,19682162145,118092972870,708557837221,

%U 4251347023329,25508082139974,153048492839845,918290957039073,5509745742234438

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

%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*(1+3*x) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 26 2015

%t Module[{nn=30,c},c=PadRight[{},nn,{1,3,0}];Table[FromDigits[Take[c,n],6],{n,nn}]] (* _Harvey P. Dale_, Sep 15 2014 *)

%K nonn,base

%O 1,2

%A _Clark Kimberling_