login

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”).

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

%I #18 Mar 16 2023 07:16:38

%S 1,10,81,650,5201,41610,332881,2663050,21304401,170435210,1363481681,

%T 10907853450,87262827601,698102620810,5584820966481,44678567731850,

%U 357428541854801,2859428334838410

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

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

%F a(n) = 8*a(n-1) + a(n-2) - 8*a(n-3).

%F G.f.: x*(1+2*x)/((1-8*x)*(1-x^2)). a(n) = (20*8^n+7*(-1)^n-27)/126. - _Bruno Berselli_, Jan 20 2011

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_