In mathematics and theoretical computer science, a k-synchronized sequence is an infinite sequence of terms s(n) characterized by a finite automaton taking as input two strings m and n, each expressed in some fixed base k, and accepting if m = s(n). The class of k-synchronized sequences lies between the classes of k-automatic sequences and k-regular sequences.
Let ã be an alphabet of k symbols where k âÂÂ¥ 2, and let [n]<sub>k</sub> denote the base-k representation of some number n. Given r âÂÂ¥ 2, a subset R of is k-synchronized if the relation {([n<sub>1</sub>]<sub>k</sub>, ..., [n<sub>r</sub>]<sub>k</sub>)} is a right-synchronized rational relation over ã<sup>∗</sup> à... àã<sup>∗</sup>, where (n<sub>1</sub>, ..., n<sub>r</sub>) R.
Let n âÂÂ¥ 0 be a natural number and let f: be a map, where both n and f(n) are expressed in base k. The sequence f(n) is k-synchronized if the language of pairs is regular.
The class of k-synchronized sequences was introduced by Carpi and Maggi.
Given a k-automatic sequence s(n) and an infinite string S = s(1)s(2)..., let ÃÂ<sub>S</sub>(n) denote the subword complexity of S; that is, the number of distinct subwords of length n in S. GoÃÂ, Schaeffer, and Shallit demonstrated that there exists a finite automaton accepting the language
This automaton guesses the endpoints of every contiguous block of symbols in S and verifies that each subword of length n starting within a given block is novel while all other subwords are not. It then verifies that m is the sum of the sizes of the blocks. Since the pair (n, m)<sub>k</sub> is accepted by this automaton, the subword complexity function of the k-automatic sequence s(n) is k-synchronized.
k-synchronized sequences exhibit a number of interesting properties. A non-exhaustive list of these properties is presented below.