login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037580 Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,3. 1

%I

%S 1,11,89,715,5721,45771,366169,2929355,23434841,187478731,1499829849,

%T 11998638795,95989110361,767912882891,6143303063129,49146424505035,

%U 393171396040281,3145371168322251,25162969346578009,201303754772624075,1610430038180992601

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

%H Vincenzo Librandi, <a href="/A037580/b037580.txt">Table of n, a(n) for n = 1..1000</a>

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

%F a(n) = (11*8^n+7*(-1)^n-18)/63. a(n) = 8*a(n-1)+a(n-2)-8*a(n-3). G.f.: x*(3*x+1) / ((x-1)*(x+1)*(8*x-1)). [_Colin Barker_, Dec 27 2012]

%t CoefficientList[Series[(3 x + 1)/((x - 1) (x + 1) (8 x - 1)), {x, 0, 30}], x] (* _Vincenzo Librandi_, Oct 22 2013 *)

%t Table[FromDigits[PadRight[{},n,{1,3}],8],{n,30}] (* _Harvey P. Dale_, May 15 2019 *)

%o (MAGMA) [(11*8^n+7*(-1)^n-18)/63: n in [1..30]]; // _Vincenzo Librandi_, Oct 22 2013

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_

%E More terms from _Colin Barker_, Dec 27 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 11:38 EDT 2020. Contains 337318 sequences. (Running on oeis4.)