State Complexity of Shifts of the Fibonacci Word
This paper demonstrates that the state complexity of automata generating shifted Fibonacci words, whether processing Zeckendorf representations in most-significant-digit-first or least-significant-digit-first order, grows logarithmically with the shift amount , approaching the information-theoretic minimum for aperiodic sequences.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a magical, infinite tape of beads, colored either Black or White. This isn't just any random pattern; it's the Fibonacci Word, a sequence so famous in mathematics that it's like the "Golden Ratio" of strings. It goes: Black, White, Black, Black, White, Black, White, Black... and continues forever without ever repeating the same chunk twice.
Mathematicians love this tape because it's generated by a very simple machine (an automaton) with just 5 tiny gears (states). If you tell the machine "What is the 100th bead?", it crunches the number and spits out the answer instantly.
The Problem: The "Shift"
Now, imagine you want to look at the tape, but you slide it over by a few spots. Maybe you want to see the bead that was originally at position 100, but now you want to know what's at position 105. You've "shifted" the sequence by 5.
The big question the authors asked is: How complicated does the machine need to become to handle this shift?
If you shift the tape by a tiny amount (like 5 spots), the machine stays small. But what if you shift it by a huge amount, like 1,000,000 spots?
- In most cases, shifting a pattern by a huge number makes the machine explode in size. It might need millions of gears to remember where it is.
- However, for this specific Fibonacci tape, the authors discovered something magical: The machine stays surprisingly small. Even if you shift it by a million spots, the machine only needs a number of gears roughly equal to the number of digits in that million.
The Analogy: The Library of Infinite Books
Think of the Fibonacci Word as a library with infinite books.
- The Standard Machine: A librarian who can find any page in the book if you give them the page number. They have a simple map (5 states) that works for the original book.
- The Shifted Machine: Now, the librarian has to find the page, but the book has been moved. The "Page 1" is now actually "Page 1000."
- The Bad News: Usually, to handle a shift of 1000, you'd need a librarian with a massive, confusing map with thousands of rooms.
- The Good News (This Paper): The authors found that for the Fibonacci library, you don't need a massive map. You just need a smart index. The size of the index only grows as fast as the length of the number you are shifting by.
- Shift by 10? Small index.
- Shift by 1,000,000? Still a tiny index.
- Shift by a googol? The index is still manageable.
This is incredibly efficient. It's close to the theoretical minimum possible size for any non-repeating pattern.
How Did They Do It? (The Secret Sauce)
The authors used a mix of three tools to solve this puzzle:
The "Fibonacci Ruler" (Zeckendorf Representation):
Instead of counting in normal base-10 (1, 2, 3...), they used a special way of counting based on Fibonacci numbers (1, 2, 3, 5, 8, 13...). It's like measuring a table not with inches, but with a ruler that only has marks at 1, 2, 3, 5, and 8 inches. This ruler has a special property: you can never use two marks in a row. This "no consecutive marks" rule is the key to keeping the machine simple.The "Golden Circle" (Diophantine Approximation):
They visualized the problem as a circle. Imagine the Fibonacci numbers spinning around a circle. The position where they land determines if the bead is Black or White. When you shift the sequence, you are essentially rotating this circle. The authors proved that no matter how far you rotate it, the "landing spots" stay organized in neat, predictable slices.The "Robot Lawyer" (Automated Proving):
They didn't just guess; they used a computer program called Walnut. Think of Walnut as a super-strict robot lawyer. The authors wrote down the rules of the Fibonacci tape in a formal language, and the robot checked every single possible scenario to prove, beyond a shadow of a doubt, that the machine size really does stay small.
The Two Ways to Read the Tape
The paper looked at two ways to feed the number to the machine:
- LSD-First (Least Significant Digit): Like reading a number from right to left (e.g., reading 123 as "3, then 2, then 1").
- MSD-First (Most Significant Digit): Like reading a number normally, from left to right (e.g., "1, then 2, then 3").
Usually, reading from left to right is much harder for these machines and requires way more gears. But for the Fibonacci Word, the authors proved that both methods result in a tiny, efficient machine.
Why Does This Matter?
In the world of computer science, "State Complexity" is about how much memory a computer needs to do a job.
- If you are designing a chip or a compression algorithm, you want to know: "How much space do I need to store this pattern?"
- This paper tells us that the Fibonacci Word is a champion of efficiency. Even when you shift it by massive amounts, it doesn't require a supercomputer to track it. It can be handled by a tiny, elegant device.
In summary: The authors took a famous, infinite pattern, shifted it by a huge amount, and proved that the "machine" needed to generate it doesn't get bloated. Instead, it grows very slowly, like a tree that only adds a few new branches for every new digit in the number you shift by. It's a beautiful example of how deep mathematical structure leads to simple, efficient solutions.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.