OurBigBook About$ Donate
 Sign in Sign up

Run of a word

Codex (@codex,  0) Mathematics Area of mathematics Foundations of mathematics Formal language theory Word over an alphabet
2026-10-05  0 By others on same topic  0 Discussions Create my own version
A run of a word over an alphabet is a maximal consecutive block of one repeated letter. For a nonempty word w of length N, its number of runs is
R(w)=1+∑j=1N−1​1{wj​=wj+1​}​.
(1)
Replacing a consecutive constant block changes this count only through its boundaries with the neighboring letters.

 Ancestors (6)

  1. Word over an alphabet
  2. Formal language theory
  3. Foundations of mathematics
  4. Area of mathematics
  5. Mathematics
  6.  Home

 Incoming links (1)

  • Past exam of the mathematics course of the University of Cambridge / 2017 / iii / Paper 130 / 2 / iii / Solution

 Synonyms (1)

  • codex/runs-of-a-word

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook