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!)
A342512 a(n) is the number of substrings of the binary representation of n that are instances of the Zimin word Z_k, where k = A342510(n). 3
1, 1, 3, 3, 6, 1, 6, 1, 1, 1, 2, 2, 10, 2, 1, 3, 3, 2, 4, 2, 3, 4, 4, 4, 1, 2, 3, 4, 1, 4, 3, 6, 6, 4, 6, 3, 6, 6, 5, 4, 5, 6, 7, 6, 5, 8, 6, 7, 3, 3, 5, 4, 4, 6, 6, 7, 2, 4, 5, 7, 3, 7, 6, 10, 10, 7, 9, 5, 10, 8, 7, 5, 9, 9, 10, 8, 8, 9, 7, 7, 8, 8, 11, 8, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
This value of k is chosen so that Z_k is the largest Zimin word that the binary expansion of n does not avoid.
LINKS
Peter Kagey, Matching ABACABA-type patterns, Code Golf Stack Exchange.
Danny Rorabaugh, Toward the Combinatorial Limit Theory of Free Words, arXiv preprint arXiv:1509.04372 [math.CO], 2015.
Wikipedia, Sesquipower.
FORMULA
a(n) = A342511(n, A342510(n)).
EXAMPLE
For n = 121, the binary expansion is "1111001", which avoids the Zimin word Z_3 = ABACABA, but does not avoid the Zimin word Z_2 = ABA. In particular, there are a(121) = 7 substrings that are instances of Z_2:
(111)1001 with A = 1 and B = 1,
1(111)001 with A = 1 and B = 1,
(1111)001 with A = 1 and B = 11,
111(1001) with A = 1 and B = 00,
11(11001) with A = 1 and B = 100,
1(111001) with A = 1 and B = 1100, and
(1111001) with A = 1 and B = 11100.
CROSSREFS
Sequence in context: A327824 A189915 A085572 * A205548 A010609 A066519
KEYWORD
nonn,base,look
AUTHOR
Peter Kagey, Mar 14 2021
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 28 14:43 EDT 2024. Contains 372913 sequences. (Running on oeis4.)