Papers
Topics
Authors
Recent
Search
2000 character limit reached

Fibonacci-Automatic Sequences

Updated 5 July 2026
  • 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 (h(i))i≥0(h(i))_{i\ge 0} generated by a DFAO that reads the Fibonacci, or Zeckendorf, representation of the index ii. 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 [y]=n[x]+c[y]=n[x]+c, and then transfer these constructions to shifted sequences and subsequences of the form h(n i+c)h(n\,i+c). 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 {Fn}n≥0\{F_n\}_{n\ge 0} be the Fibonacci numbers defined by

F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).

A Fibonacci, or Zeckendorf, representation of a nonnegative integer mm is a binary word

m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},

subject to the non-consecutivity condition eiei+1=0e_i e_{i+1}=0. The corresponding bit vector is written most-significant-digit first as (etet−1…e2)(e_t e_{t-1}\dots e_2), and ii0 denotes the integer value of a binary string ii1 (Moradi et al., 23 Mar 2026).

Zeckendorf’s theorem gives both existence and uniqueness: every ii2 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 ii3 with ii4 states reads the Zeckendorf representation of ii5 and outputs ii6, then ii7 is Fibonacci-automatic and its state-complexity is ii8 (Moradi et al., 23 Mar 2026).

A related but stronger model is the synchronized automaton for a function ii9: a DFA over alphabet [y]=n[x]+c[y]=n[x]+c0 that reads in parallel a pair of Fibonacci representations and accepts exactly those pairs [y]=n[x]+c[y]=n[x]+c1 such that [y]=n[x]+c[y]=n[x]+c2. Synchronized automata are described as strictly more powerful, because they permit first-order reasoning about [y]=n[x]+c[y]=n[x]+c3 in the structure [y]=n[x]+c[y]=n[x]+c4 (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 [y]=n[x]+c[y]=n[x]+c5. These automata read a pair [y]=n[x]+c[y]=n[x]+c6 in parallel, where [y]=n[x]+c[y]=n[x]+c7 and [y]=n[x]+c[y]=n[x]+c8 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 [y]=n[x]+c[y]=n[x]+c9 h(n i+c)h(n\,i+c)0
Ordering h(n i+c)h(n\,i+c)1 h(n i+c)h(n\,i+c)2
Addition by constant h(n i+c)h(n\,i+c)3 h(n i+c)h(n\,i+c)4
Linear form h(n i+c)h(n\,i+c)5 h(n i+c)h(n\,i+c)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: h(n i+c)h(n\,i+c)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 h(n i+c)h(n\,i+c)8, the automaton tracks the running difference

h(n i+c)h(n\,i+c)9

together with the previous difference {Fn}n≥0\{F_n\}_{n\ge 0}0 and the last input bits {Fn}n≥0\{F_n\}_{n\ge 0}1. States are 4-tuples {Fn}n≥0\{F_n\}_{n\ge 0}2 with {Fn}n≥0\{F_n\}_{n\ge 0}3. The decisive argument is a range-stability property: once {Fn}n≥0\{F_n\}_{n\ge 0}4 leaves {Fn}n≥0\{F_n\}_{n\ge 0}5, no extension can return, and the set of co-accessible states is bounded by {Fn}n≥0\{F_n\}_{n\ge 0}6 (Moradi et al., 23 Mar 2026).

For the general linear relation {Fn}n≥0\{F_n\}_{n\ge 0}7, the construction maintains

{Fn}n≥0\{F_n\}_{n\ge 0}8

as the current and previous differences together with the last input bits of {Fn}n≥0\{F_n\}_{n\ge 0}9 and F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).0. The analysis shows that F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).1 remains in the integer interval

F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).2

whose size is F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).3. With two bits for the last symbols of F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).4 and F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).5, this yields

F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).6

states (Moradi et al., 23 Mar 2026).

Two lemmas organize much of this arithmetic. First, for every valid Fibonacci string F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).7,

F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).8

Second, if F0=0,F1=1,Fn=Fn−1+Fn−2(n≥2).F_0 = 0,\quad F_1 = 1,\quad F_n = F_{n-1} + F_{n-2}\quad(n\ge 2).9, then extending by one more digit mm0 gives the difference recurrence

mm1

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 mm2 is generated by an mm3-state DFAO, then for fixed mm4 the shifted sequence mm5 is generated by a DFAO of

mm6

states. The proof passes to the interior sequence mm7, which records the state of the original DFAO rather than its output. On input mm8, the new automaton remembers the block

mm9

together with the last bits of the codes of m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},0. Using the subword-complexity bound of Lemma 1, this yields m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},1 possibilities for the state block and m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},2 possibilities for the last-bit patterns, hence m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},3 in total (Moradi et al., 23 Mar 2026).

For the Fibonacci-Thue–Morse sequence m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},4, the shifted sequence m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},5 can be generated by a minimal DFAO of

m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},6

states. The argument uses the fact that the difference of bit-counts over windows of length m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},7 grows only linearly (Moradi et al., 23 Mar 2026). This is a special-case improvement over the general m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},8 bound.

The central subsequence result concerns

m  =  ∑i=2tei Fi,ei∈{0,1},m \;=\;\sum_{i=2}^t e_i\,F_i,\qquad e_i\in\{0,1\},9

for fixed eiei+1=0e_i e_{i+1}=00 and eiei+1=0e_i e_{i+1}=01. If eiei+1=0e_i e_{i+1}=02 is generated by an eiei+1=0e_i e_{i+1}=03-state DFAO, then this linear subsequence is generated by a DFAO of

eiei+1=0e_i e_{i+1}=04

states. The construction first builds an unambiguous FSA (UFAO) that, on input eiei+1=0e_i e_{i+1}=05, guesses eiei+1=0e_i e_{i+1}=06 such that eiei+1=0e_i e_{i+1}=07 and simulates eiei+1=0e_i e_{i+1}=08 on eiei+1=0e_i e_{i+1}=09. A subset construction then yields a DFAO whose states are characterized by

(etet−1…e2)(e_t e_{t-1}\dots e_2)0

where (etet−1…e2)(e_t e_{t-1}\dots e_2)1 and (etet−1…e2)(e_t e_{t-1}\dots e_2)2. The factor comes from

(etet−1…e2)(e_t e_{t-1}\dots e_2)3

with each coordinate automatic. By Lemma 1 there are (etet−1…e2)(e_t e_{t-1}\dots e_2)4 such factors and (etet−1…e2)(e_t e_{t-1}\dots e_2)5 choices for (etet−1…e2)(e_t e_{t-1}\dots e_2)6, giving (etet−1…e2)(e_t e_{t-1}\dots e_2)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 (etet−1…e2)(e_t e_{t-1}\dots e_2)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 (etet−1…e2)(e_t e_{t-1}\dots e_2)9, where ii00 is the Fibonacci word. As an immediate corollary of the ii01 subsequence construction, for each ii02, ii03, and any Fibonacci-automatic ii04, there is a polynomial-size morphism of size

ii05

which generates the subsequence ii06. In particular, the previously exponential bound for the Fibonacci word itself collapses to ii07 (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 ii08 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 ii09 ii10
DFA for ii11 ii12
DFA for ii13 ii14
DFA for ii15 ii16
DFAO for ii17 ii18

For ii19, the canonical representation of ii20 has length ii21, and the minimal DFA has ii22 states. The same asymptotic runtime extends to ii23 by combining the fixed-constant addition machine with the equality construction (Moradi et al., 23 Mar 2026).

The multiplication relation ii24 is more delicate. The construction uses a recursion on ii25, separating even and odd cases, followed by product-and-projection operations. For fixed ii26, this yields a DFA for ii27 in

ii28

time, and the same asymptotic bound applies to ii29 (Moradi et al., 23 Mar 2026).

Finally, given an ii30-state DFAO for ii31, one takes the product with the automaton for ii32, projects away the second input, determinizes, and minimizes. The resulting algorithm computes a DFAO for ii33 in

ii34

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 ii35, ii36, and ii37, 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).

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 ii38: ii39 iff ii40 ends in ii41, and ii42 iff ii43 ends in ii44. Walnut then constructs small automata for complements of sumsets such as ii45, ii46, and ii47, with sizes ranging from ii48 to ii49 states; for example, the complement of ii50 is recognized by a ii51-state automaton and consists of the numbers ii52 (Shallit, 2020). The same work states that once an automaton for a sumset ii53 is available, one can derive linear representations, of rank up to ii54 in the hardest case, to count ii55 in time ii56 (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 ii57 yields a DFAO with ii58 states, and Walnut verifies both functionality and the defining recurrence. The same paper proves two decidability results: if ii59 and ii60 are synchronized Fibonacci sequences, then it is decidable whether ii61 is a permutation of ii62; and given synchronized sequences ii63 and ii64, it is decidable whether ii65 is the distinctness-transform of ii66 (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 ii67 for DFAO size and ii68 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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Fibonacci-Automatic Sequences.