Arrow Research search
Back to TCS

TCS 2014

Squares in partial words

Journal Article journal-article Computer Science ยท Theoretical Computer Science

Abstract

We investigate the number of positions that do not start a square, the number of square occurrences, and the number of distinct squares in partial words, i. e. , sequences that may have undefined positions called holes. We show that the limit of the ratio of the maximum number of positions not starting a square in a binary partial word with h holes over its length n is 15/31 and the limit of the ratio of the minimum number of square occurrences in a binary partial word with h holes over its length n is 103/187, provided the limit of h / n is 0. Both limits turn out to match with the known limits for binary full words (those without holes). We prove another surprising result that the maximal proportion of defined positions that are square-free to the number of defined positions in a binary partial word with h holes of length n is 1/2, provided the limit of h / n is in the interval [ 1 / 11, 1 ). We also give a 2 k h tight bound on the number of rightmost occurrences of squares per position in a k-ary partial word with h holes. In addition, we provide a more detailed analysis than earlier ones for the maximum number of distinct squares in a one-hole partial word of length n over an alphabet of size k, bound that is independent of k.

Authors

Keywords

  • Combinatorics on words
  • Partial words
  • Square positions
  • Distinct squares
  • Square occurrences

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
1117569294839041709
v2026.09.13