%I #11 Feb 13 2017 02:52:08
%S 1,9,56,337,2025,12152,72913,437481,2624888,15749329,94495977,
%T 566975864,3401855185,20411131113,122466786680,734800720081,
%U 4408804320489,26452825922936,158716955537617,952301733225705,5713810399354232
%N Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2.
%H <a href="/index/Ar#6-automatic">Index entries for 6-automatic sequences</a>.
%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+x)*(2*x+1) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 27 2015
%t Table[FromDigits[PadRight[{},n,{1,3,2}],6],{n,30}] (* or *) LinearRecurrence[ {6,0,1,-6},{1,9,56,337},30] (* _Harvey P. Dale_, Nov 05 2016 *)
%o (PARI) a(n)=([0,1,0,0; 0,0,1,0; 0,0,0,1; -6,1,0,6]^(n-1)*[1;9;56;337])[1,1] \\ _Charles R Greathouse IV_, Feb 13 2017
%Y Cf. A007092, A037617.
%K nonn,base,easy
%O 1,2
%A _Clark Kimberling_