NUMERATION SYSTEMS, LINEAR RECURRENCES, AND REGULAR SETS

Authors
Citation
J. Shallit, NUMERATION SYSTEMS, LINEAR RECURRENCES, AND REGULAR SETS, Information and computation, 113(2), 1994, pp. 331-347
Citations number
40
Categorie Soggetti
Information Science & Library Science",Mathematics,"Computer Science Information Systems
Journal title
ISSN journal
08905401
Volume
113
Issue
2
Year of publication
1994
Pages
331 - 347
Database
ISI
SICI code
0890-5401(1994)113:2<331:NSLRAR>2.0.ZU;2-H
Abstract
A numeration system based on a strictly increasing sequence of positiv e integers u0 = u1, u2, ... expresses a non-negative integer n as a su m n = SIGMA(j=0)i a(j)u(j). In this case we say the string a(i)a(i-1) ... a1a0 is a representation for n. If gcd(u0, u1, ...) = g, then ever y sufficiently large multiple of g has some representation. If the lex icographic ordering on the representations is the same as the usual or dering of the integers, we say the numeration system is order-preservi ng. In particular, if u0 = 1, then the greedy representation, obtained via the greedy algorithm, is order-preserving. We prove that, subject to some technical assumptions, if the set of all representations in a n order-preserving numeration system is regular, then the sequence u = (u(j))j greater-than-or-equal-to 0 satisfies a linear recurrence. The converse, however, is not true. The proof uses two lemmas about regul ar sets that may be of independent interest. The first shows that if L is regular, then the set of lexicographically greatest strings of eve ry length in L is also regular. The second shows that the number of st rings of length n in a regular language L is bounded by a constant (in dependent of n) iff L is the finite union of sets of the form xyz. (C ) 1994 Academic Press, Inc.