English

On fractal patterns in Ulam words

Combinatorics 2024-11-01 v2

Abstract

Ulam words are binary words defined recursively as follows: the length-11 Ulam words are 00 and 11, and a binary word of length nn is Ulam if and only if it is expressible uniquely as a concatenation of two shorter, distinct Ulam words. We discover, fully describe, and prove a surprisingly rich structure already in the set of Ulam words containing exactly two 11's. In particular, this leads to a complete description of such words and a logarithmic-time algorithm to determine whether a binary word with two 11's is Ulam. Along the way, we uncover delicate parity and biperiodicity properties, as well as sharp bounds on the number of 00's outside the two 11's. We also show that sets of Ulam words indexed by the number yy of 00's between the two 11's have intricate tensor-based hierarchical structures determined by the arithmetic properties of yy. This allows us to construct an infinite family of self-similar Ulam-word-based fractals indexed by the set of 22-adic integers, containing the outward Sierpinski gasket as a special case.

Keywords

Cite

@article{arxiv.2211.14229,
  title  = {On fractal patterns in Ulam words},
  author = {Andrei Mandelshtam},
  journal= {arXiv preprint arXiv:2211.14229},
  year   = {2024}
}

Comments

36 pages, 12 figures

R2 v1 2026-06-28T07:12:57.492Z