The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A104248 Lengths of successive runs of 1's in the Thue-Morse sequence A010060. 5
2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Also lengths of successive runs of 0's in the Thue-Morse sequence A010059.
Also lengths of successive runs of 2's in the Thue-Morse sequence A001285.
A variant of A036577, suggested by p. 4421 of Grytczuk.
LINKS
Jaroslaw Grytczuk, Thue type problems for graphs, points and numbers, Discrete Math., 308 (2008), 4419-4429.
FORMULA
a(n) = A026465(2n).
EXAMPLE
A010060 begins 011010011001011010010110011010011... so the runs of 1's have lengths 2 1 2 1 2 1 1 2 2 1 2 1 2 2 1 1 2 1 ...
MATHEMATICA
Map[Length, Most[Split[ThueMorse[Range[500]]]][[;;;; 2]]] (* Paolo Xausa, Dec 19 2023 *)
CROSSREFS
Sequence in context: A022934 A107450 A341765 * A358359 A249973 A343854
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Aug 05 2008
EXTENSIONS
Edited and extended by Ray Chandler, Aug 08 2008
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 May 13 16:16 EDT 2024. Contains 372522 sequences. (Running on oeis4.)