[go: up one dir, main page]

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

%I #12 Feb 13 2017 02:53:41

%S 1,12,110,991,8922,80300,722701,6504312,58538810,526849291,4741643622,

%T 42674792600,384073133401,3456658200612,31109923805510,

%U 279989314249591,2519903828246322,22679134454216900,204112210087952101,1837009890791568912,16533089017124120210

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

%H <a href="/index/Ar#3-automatic">Index entries for 3-automatic sequences</a>.

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

%F G.f.: x*(1+x)*(2*x+1) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 27 2015

%F A007095(a(n)) = A037617(n). - _R. J. Mathar_, Apr 27 2015

%t Module[{nn=30,t},t=PadRight[{},nn,{1,3,2}];Table[FromDigits[ Take[ t,n], 9],{n,nn}]] (* _Harvey P. Dale_, May 06 2014 *)

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_