login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037692 Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3. 1
1, 10, 80, 643, 5145, 41162, 329296, 2634371, 21074969, 168599754, 1348798032, 10790384259, 86323074073, 690584592586, 5524676740688, 44197413925507, 353579311404057, 2828634491232458, 22629075929859664, 181032607438877315 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(8*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
MATHEMATICA
CoefficientList[Series[(1 + 2*x + 3*x^3)/((x - 1)*(8*x - 1)*(1 + x)*(x^2 + 1)), {x, 0, 20}], x] (* Wesley Ivan Hurt, Feb 02 2017 *)
LinearRecurrence[{8, 0, 0, 1, -8}, {1, 10, 80, 643, 5145}, 20] (* Vincenzo Librandi, Feb 03 2017 *)
PROG
(Magma) I:=[1, 10, 80, 643, 5145]; [n le 5 select I[n] else 8*Self(n-1)+Self(n-4)-8*Self(n-5): n in [1..20]]; // Vincenzo Librandi, Feb 03 2017
CROSSREFS
Sequence in context: A341917 A369474 A037509 * A126531 A200162 A165511
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)