Copyright © 1996 Published by Elsevier Science B.V.
Random generation of finite Sturmian words*1
Received 31 August 1993;
revised 12 July 1994.
Available online 29 December 2000.
References and further reading may be available for this article. To view references and further reading you must purchase this article.
Abstract
We present a bijection between the set of factors of given length of Sturmian words and some set of triples of nonnegative integers. This bijection and its inverse are both computable in linear time. Its applications are: a bijective proof of Mignosi's formula for counting Sturmian words, a linear probabilistic algorithm for generating finite Sturmian word at random, and, using similar techniques, a linear on-line algorithm for computing the longest Sturmian prefix of a given word. The construction of the bijection relies on concepts from combinatorial geometry.






E-mail Article
Add to my Quick Links

Cited By in Scopus (4)

0 be the sequence of sets inductively defined as:
},
ι) 




