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!)
A336173 The Mignosi-Restivo repetition length for the Thue-Morse sequence (A010060) at position n. 0
1, 3, 1, 6, 2, 12, 1, 12, 1, 24, 1, 24, 2, 24, 1, 24, 2, 48, 1, 48, 2, 48, 1, 48, 1, 48, 1, 48, 2, 48, 1, 48, 1, 96, 1, 96, 2, 96, 1, 96, 1, 96, 1, 96, 2, 96, 1, 96, 2, 96, 1, 96, 2, 96, 1, 96, 1, 96, 1, 96, 2, 96, 1, 96, 2, 192, 1, 192, 2, 192, 1, 192, 1, 192 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The repetition length at position n of a sequence x = x[0] x[1] x[2]... is the smallest integer i such that either x[0..n-1] is a suffix of x[n..n+i-1], or x[n..n+i-1] is a suffix of x[0..n-1].
LINKS
FORMULA
a(4n+2) = (3a(2n) + 2a(2n+1) + 3a(4n) - a(4n+1))/9;
a(4n+3) = a(2n+1);
a(8n) = a(2n);
a(8n+1) = -2a(2n+1) + 3a(4n+1);
a(8n+4) = (6a(2n) + 4a(2n+1) + 6a(4n) - 2a(4n+1))/9;
a(8n+5) = 4a(2n+1).
EXAMPLE
For n=3 we have a(n) = 6, because the first few symbols of the Thue-Morse sequence is 011010011, and 010011 has suffix 011.
CROSSREFS
Cf. A010060.
Sequence in context: A105358 A240691 A322387 * A072361 A341219 A145366
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Jul 10 2020
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 August 1 02:29 EDT 2024. Contains 374809 sequences. (Running on oeis4.)