An Erdős--Szekeres type result for words with repeats
Abstract
We prove an Erdős--Szekeres type result for finite words over N with repeated values. Specifically, we define a repeat in a word to be an occurrence of a value which is not its first occurrence. We define an occurrence of a pattern π in a word w to be a (not necessarily consecutive) subword of w that is order isomorphic to π. In this note, we show that every word with kn6+1 repeats contains one of the following patterns: 0k+2, 0011·s nn, nn·s1100, 012 ·s n012 ·s n, 012 ·s nn·s 210, n·s 210012·s n, n·s 210n·s 210. Moreover, when k=1, we show that this is best possible by constructing a word with n6 repeats that does not contain any of these patterns.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.