Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Apr 15 2018 08:00:59
%S 2,17,137,1098,8785,70281,562250,4498001,35984009,287872074,
%T 2302976593,18423812745,147390501962,1179124015697,9432992125577,
%U 75463937004618,603711496036945,4829691968295561
%N Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,1.
%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+x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 30 2015
%t Table[FromDigits[PadRight[{},n,{2,1,1}],8],{n,20}] (* or *) LinearRecurrence[ {8,0,1,-8},{2,17,137,1098},20] (* _Harvey P. Dale_, Apr 15 2018 *)
%K nonn,base,easy
%O 1,1
%A _Clark Kimberling_