Fibonacci-Automatic Sequences
- Fibonacci-Automatic Sequences are defined by DFAs that process Zeckendorf representations, enabling precise arithmetic relations and subsequence operations.
- Automata constructions yield low state complexity for equality, ordering, and addition, converting exponential bounds into polynomial ones.
- The framework supports efficient sequence shifts and linear subsequence extraction, significantly reducing morphic complexity in practical applications.
Searching arXiv for the cited papers and closely related work. arXiv search: "Complexity of Linear Subsequences of Fibonacci-Automatic Sequences" Fibonacci-automatic sequences are sequences generated by a DFAO that reads the Fibonacci, or Zeckendorf, representation of the index . In this setting, arithmetic relations on indices and structural operations on sequences are studied through finite automata over canonical Fibonacci representations, with particular emphasis on state complexity and constructive complexity. The central results on linear subsequences establish automata for equality, order, addition by a constant, and general linear forms , and then transfer these constructions to shifted sequences and subsequences of the form . As a consequence, the morphic complexity of such subsequences admits a polynomial bound, improving a recent exponential bound for the Fibonacci word (Moradi et al., 23 Mar 2026). Related work uses the same Zeckendorf-automatic framework to analyze Wythoff sumsets via Walnut (Shallit, 2020) and to study synchronized Fibonacci sequences such as A105774 (Cloitre et al., 2023).
1. Numeration-theoretic foundations
Let be the Fibonacci numbers defined by
A Fibonacci, or Zeckendorf, representation of a nonnegative integer is a binary word
subject to the non-consecutivity condition . The corresponding bit vector is written most-significant-digit first as , and 0 denotes the integer value of a binary string 1 (Moradi et al., 23 Mar 2026).
Zeckendorf’s theorem gives both existence and uniqueness: every 2 has such a representation, and there is exactly one such representation with no leading zeros. This uniqueness is the numeration-theoretic basis for deterministic automata over Fibonacci representations. In the terminology used for Fibonacci-automatic sequences, if a DFAO 3 with 4 states reads the Zeckendorf representation of 5 and outputs 6, then 7 is Fibonacci-automatic and its state-complexity is 8 (Moradi et al., 23 Mar 2026).
A related but stronger model is the synchronized automaton for a function 9: a DFA over alphabet 0 that reads in parallel a pair of Fibonacci representations and accepts exactly those pairs 1 such that 2. Synchronized automata are described as strictly more powerful, because they permit first-order reasoning about 3 in the structure 4 (Cloitre et al., 2023). This distinction matters for complexity questions: DFAO-based automaticity controls sequence generation, while synchronized automata control graph recognition and logical definability.
2. Automata for basic arithmetic relations
The core arithmetic constructions use msd-first DFAs, more precisely partial DFAs to handle dead-state omission, over the alphabet 5. These automata read a pair 6 in parallel, where 7 and 8 are Zeckendorf-encoded, and recognize relations such as equality, ordering, addition by a constant, and general linear forms (Moradi et al., 23 Mar 2026).
| Relation | Recognized set | State-complexity |
|---|---|---|
| Equality | 9 | 0 |
| Ordering | 1 | 2 |
| Addition by constant | 3 | 4 |
| Linear form | 5 | 6 |
Equality is recognized by a 2-state DFA, plus a dead state in the classic construction. Ordering is recognized by a 5-state DFA because lexicographic order on valid Zeckendorf strings agrees with numeric order: 7 This equivalence is one of the key structural simplifications of the Fibonacci numeration system (Moradi et al., 23 Mar 2026).
For addition by a constant 8, the automaton tracks the running difference
9
together with the previous difference 0 and the last input bits 1. States are 4-tuples 2 with 3. The decisive argument is a range-stability property: once 4 leaves 5, no extension can return, and the set of co-accessible states is bounded by 6 (Moradi et al., 23 Mar 2026).
For the general linear relation 7, the construction maintains
8
as the current and previous differences together with the last input bits of 9 and 0. The analysis shows that 1 remains in the integer interval
2
whose size is 3. With two bits for the last symbols of 4 and 5, this yields
6
states (Moradi et al., 23 Mar 2026).
Two lemmas organize much of this arithmetic. First, for every valid Fibonacci string 7,
8
Second, if 9, then extending by one more digit 0 gives the difference recurrence
1
This recurrence supplies the single-step transition rule for the linear-form automata (Moradi et al., 23 Mar 2026).
3. Sequence operations and linear subsequences
The same automata-theoretic apparatus extends from binary relations on encoded integers to operations on Fibonacci-automatic sequences themselves. Three operations receive explicit complexity bounds: shifting by a constant, shifting the Fibonacci-Thue–Morse sequence, and extracting linear subsequences (Moradi et al., 23 Mar 2026).
If 2 is generated by an 3-state DFAO, then for fixed 4 the shifted sequence 5 is generated by a DFAO of
6
states. The proof passes to the interior sequence 7, which records the state of the original DFAO rather than its output. On input 8, the new automaton remembers the block
9
together with the last bits of the codes of 0. Using the subword-complexity bound of Lemma 1, this yields 1 possibilities for the state block and 2 possibilities for the last-bit patterns, hence 3 in total (Moradi et al., 23 Mar 2026).
For the Fibonacci-Thue–Morse sequence 4, the shifted sequence 5 can be generated by a minimal DFAO of
6
states. The argument uses the fact that the difference of bit-counts over windows of length 7 grows only linearly (Moradi et al., 23 Mar 2026). This is a special-case improvement over the general 8 bound.
The central subsequence result concerns
9
for fixed 0 and 1. If 2 is generated by an 3-state DFAO, then this linear subsequence is generated by a DFAO of
4
states. The construction first builds an unambiguous FSA (UFAO) that, on input 5, guesses 6 such that 7 and simulates 8 on 9. A subset construction then yields a DFAO whose states are characterized by
0
where 1 and 2. The factor comes from
3
with each coordinate automatic. By Lemma 1 there are 4 such factors and 5 choices for 6, giving 7 (Moradi et al., 23 Mar 2026).
A plausible implication is that subsequence extraction in Fibonacci numeration is governed less by ad hoc algebraic identities than by the automaton growth induced by difference tracking and determinization.
4. Morphic generation and the Bosma–Don improvement
A standard morphic presentation of an automatic sequence treats each DFAO state as a letter and defines a morphism sending each state 8 to the block of states reached on input letters. The size of the morphism is the sum of the lengths of all images (Moradi et al., 23 Mar 2026).
Bosma and Don proved an exponential upper bound on the size of a morphism generating 9, where 00 is the Fibonacci word. As an immediate corollary of the 01 subsequence construction, for each 02, 03, and any Fibonacci-automatic 04, there is a polynomial-size morphism of size
05
which generates the subsequence 06. In particular, the previously exponential bound for the Fibonacci word itself collapses to 07 (Moradi et al., 23 Mar 2026).
This improvement is significant because it converts a general existence statement with exponential overhead into a polynomially bounded construction. Within the article’s scope, that is the principal complexity-theoretic consequence of the automaton bounds for linear subsequences.
5. Constructive complexity through Büchi arithmetic
The constructive side of the theory is formulated through a reasonable interpretation of Büchi arithmetic. In practice, software such as Walnut encodes Zeckendorf arithmetic in Büchi-decidable first-order logic over 08 with addition and automatically carries out product constructions, projections, and minimizations. The complexity analysis is measured in the total number of transition-traversals needed to build the corresponding automata (Moradi et al., 23 Mar 2026).
| Construction task | Resulting runtime |
|---|---|
| DFA for 09 | 10 |
| DFA for 11 | 12 |
| DFA for 13 | 14 |
| DFA for 15 | 16 |
| DFAO for 17 | 18 |
For 19, the canonical representation of 20 has length 21, and the minimal DFA has 22 states. The same asymptotic runtime extends to 23 by combining the fixed-constant addition machine with the equality construction (Moradi et al., 23 Mar 2026).
The multiplication relation 24 is more delicate. The construction uses a recursion on 25, separating even and odd cases, followed by product-and-projection operations. For fixed 26, this yields a DFA for 27 in
28
time, and the same asymptotic bound applies to 29 (Moradi et al., 23 Mar 2026).
Finally, given an 30-state DFAO for 31, one takes the product with the automaton for 32, projects away the second input, determinizes, and minimizes. The resulting algorithm computes a DFAO for 33 in
34
time (Moradi et al., 23 Mar 2026).
The surrounding literature shows the same logic-to-automaton pipeline in other Fibonacci settings. In the study of Wythoff sumsets, Walnut formulas using the ?msd_fib directive define sets such as 35, 36, and 37, and the resulting automata expose finite or co-finite complements (Shallit, 2020). In the study of A105774, Walnut is used to verify that a guessed synchronized automaton defines a total function and satisfies the defining recurrence, with the corresponding queries returning TRUE (Cloitre et al., 2023).
6. Related automatic structures and conceptual boundaries
The broader literature on Fibonacci representations clarifies how Fibonacci-automatic sequences interact with additive combinatorics and synchronized recursion. In one direction, the lower and upper Wythoff sequences are characterized by suffix conditions on 38: 39 iff 40 ends in 41, and 42 iff 43 ends in 44. Walnut then constructs small automata for complements of sumsets such as 45, 46, and 47, with sizes ranging from 48 to 49 states; for example, the complement of 50 is recognized by a 51-state automaton and consists of the numbers 52 (Shallit, 2020). The same work states that once an automaton for a sumset 53 is available, one can derive linear representations, of rank up to 54 in the hardest case, to count 55 in time 56 (Shallit, 2020).
In another direction, synchronized Fibonacci automata capture recursively defined sequences whose values are not merely finite outputs attached to states. For OEIS A105774, a synchronized DFA recognizing the graph of 57 yields a DFAO with 58 states, and Walnut verifies both functionality and the defining recurrence. The same paper proves two decidability results: if 59 and 60 are synchronized Fibonacci sequences, then it is decidable whether 61 is a permutation of 62; and given synchronized sequences 63 and 64, it is decidable whether 65 is the distinctness-transform of 66 (Cloitre et al., 2023).
These neighboring results delimit several common misconceptions. First, Fibonacci-automaticity is not restricted to isolated toy examples: it supports explicit constructions for arithmetic relations, sumsets, and recursively defined sequences. Second, synchronization is not the same as ordinary automaticity; it is described as strictly more powerful because it recognizes graphs of functions rather than only finite-state outputs (Cloitre et al., 2023). Third, the complexity growth for linear subsequences in Fibonacci numeration need not be exponential: the subsequence automata admit the polynomial bounds 67 for DFAO size and 68 for associated morphism size (Moradi et al., 23 Mar 2026).
Taken together, these results place Fibonacci-automatic sequences at the intersection of numeration systems, automata theory, morphic generation, and algorithmic logic. The specific contribution of the linear-subsequence complexity analysis is to make that intersection quantitative: it assigns explicit state bounds to arithmetic relations, explicit DFAO bounds to subsequence constructions, and explicit runtime bounds to the logical procedures that build the automata.