login

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

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

%I #9 Apr 27 2018 13:27:19

%S 3,24,193,1546,12371,98968,791745,6333962,50671699,405373592,

%T 3242988737,25943909898,207551279187,1660410233496,13283281867969,

%U 106266254943754,850130039550035,6801040316400280

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

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

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

%t Table[FromDigits[PadRight[{},n,{3,0,1,2}],8],{n,20}] (* or *) LinearRecurrence[ {8,0,0,1,-8},{3,24,193,1546,12371},20] (* _Harvey P. Dale_, Apr 27 2018 *)

%K nonn,base,easy

%O 1,1

%A _Clark Kimberling_