login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #9 Sep 26 2023 15:37:55

%S 3,28,252,2270,20433,183898,1655082,14895740,134061663,1206554968,

%T 10858994712,97730952410,879578571693,7916207145238,71245864307142,

%U 641212778764280,5770915008878523

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

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

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

%t Table[FromDigits[PadRight[{},n,{3,1,0,2}],9],{n,20}] (* or *) LinearRecurrence[{10,-10,10,-9},{3,28,252,2270},20] (* _Harvey P. Dale_, Sep 26 2023 *)

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_