%I #10 Jun 22 2017 17:50:59
%S 2,17,138,1106,8849,70794,566354,4530833,36246666,289973330,
%T 2319786641,18558293130,148466345042,1187730760337,9501846082698,
%U 76014768661586,608118149292689,4864945194341514
%N Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,2.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (8,0,1,-8).
%F G.f.: x*(2+x+2*x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 26 2015
%t Table[FromDigits[PadRight[{},n,{2,1,2}],8],{n,20}] (* or *) LinearRecurrence[ {8,0,1,-8},{2,17,138,1106},20] (* _Harvey P. Dale_, Jun 22 2017 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_
|