%I #9 Jun 13 2015 00:49:16
%S 1,9,66,463,3243,22704,158929,1112505,7787538,54512767,381589371,
%T 2671125600,18697879201,130885154409,916196080866,6413372566063,
%U 44893607962443,314255255737104,2199786790159729
%N Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (7,0,1,-7).
%F G.f.: x*(1+2*x+3*x^2) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 27 2015
%t Module[{nn=20,t},t=PadRight[{},nn,{1,2,3}];Table[FromDigits[Take[t,i],7],{i,nn}]] (* _Harvey P. Dale_, Oct 02 2013 *)
%K nonn,base,easy
%O 1,2
%A _Clark Kimberling_