AFibonacci word is a specific sequence ofbinary digits (or symbols from any two-letteralphabet). The Fibonacci word is formed by repeatedconcatenation in the same way that theFibonacci numbers are formed by repeated addition.
The name "Fibonacci word" has also been used to refer to the members of aformal languageL consisting of strings of zeros and ones with no two repeated ones. Any prefix of the specific Fibonacci word belongs toL, but so do many other strings.L has a Fibonacci number of members of each possible length.
Thenth digit of the word is where is thegolden ratio and is thefloor function (sequenceA003849 in theOEIS). As a consequence, the infinite Fibonacci word can be characterized by a cutting sequence of a line of slope or. See the figure above.
Another way of going fromSn toSn +1 is to replace each symbol 0 inSn with the pair of consecutive symbols 0, 1 inSn +1, and to replace each symbol 1 inSn with the single symbol 0 inSn +1.
Alternatively, one can imagine directly generating the entire infinite Fibonacci word by the following process: start with a cursor pointing to the single digit 0. Then, at each step, if the cursor is pointing to a 0, append 1, 0 to the end of the word, and if the cursor is pointing to a 1, append 0 to the end of the word. In either case, complete the step by moving the cursor one position to the right.
A similar infinite word, sometimes called therabbit sequence, is generated by a similar infinite process with a different replacement rule: whenever the cursor is pointing to a 0, append 1, and whenever the cursor is pointing to a 1, append 0, 1. The resulting sequence begins
The word is related to the famous sequence of the same name (theFibonacci sequence) in the sense that addition of integers in theinductive definition is replaced with string concatenation. This causes the length ofSn to beFn +2, the (n +2)nd Fibonacci number. Also the number of 1s inSn isFn and the number of 0s inSn isFn +1.
The infinite Fibonacci word is not periodic and not ultimately periodic.[2]
The last two letters of a Fibonacci word are alternately "01" and "10".
Suppressing the last two letters of a Fibonacci word, or prefixing the complement of the last two letters, creates apalindrome. Example: 01S4 = 0101001010 is a palindrome. Thepalindromic density of the infinite Fibonacci word is thus 1/φ, where φ is thegolden ratio: this is the largest possible value for aperiodic words.[3]
In the infinite Fibonacci word, the ratio (number of letters)/(number of zeroes) is φ, as is the ratio of zeroes to ones.[4]
The infinite Fibonacci word is abalanced sequence: Take twofactors of the same length anywhere in the Fibonacci word. The difference between theirHamming weights (the number of occurrences of "1") never exceeds 1.[5]
Thecomplexity function of the infinite Fibonacci word isn + 1: it containsn + 1 distinct subwords of lengthn. Example: There are 4 distinct subwords of length 3: "001", "010", "100" and "101". Being also non-periodic, it is then of "minimal complexity", and hence aSturmian word,[7] with slope. The infinite Fibonacci word is thestandard word generated by thedirective sequence (1,1,1,....).
The infinite Fibonacci word is recurrent; that is, every subword occurs infinitely often.
If is a subword of the infinite Fibonacci word, then so is its reversal, denoted.
If is a subword of the infinite Fibonacci word, then the least period of is a Fibonacci number.
The concatenation of two successive Fibonacci words is "almost commutative". and differ only by their last two letters.
The number 0.010010100..., whose digits are built with the digits of the infinite Fibonacci word, istranscendental.
The letters "1" can be found at the positions given by the successive values of the Upper Wythoff sequence (sequenceA001950 in theOEIS):
The letters "0" can be found at the positions given by the successive values of the Lower Wythoff sequence (sequenceA000201 in theOEIS):
The distribution of points on theunit circle, placed consecutively clockwise by the golden angle, generates a pattern of two lengths on the unit circle. Although the above generating process of the Fibonacci word does not correspond directly to the successive division of circle segments, this pattern is if the pattern starts at the point nearest to the first point in clockwise direction, whereupon 0 corresponds to the long distance and 1 to the short distance.
The infinite Fibonacci word contains repetitions of 3 successive identical subwords, but none of 4.[2] Thecritical exponent for the infinite Fibonacci word is.[8] It is the smallest index (or critical exponent) among all Sturmian words.
The infinite Fibonacci word is often cited as theworst case for algorithms detecting repetitions in a string.
The infinite Fibonacci word is amorphic word, generated in {0,1}* by the endomorphism 0 → 01, 1 → 0.[9]
Thenth element of a Fibonacci word,, is 1 if theZeckendorf representation (the sum of a specific set of Fibonacci numbers) ofn includes a 1, and 0 if it does not include a 1.
Fibonacci based constructions are currently used to model physical systems with aperiodic order such asquasicrystals, and in this context the Fibonacci word is also called theFibonacci quasicrystal.[11] Crystal growth techniques have been used to grow Fibonacci layered crystals and study their light scattering properties.[12]
Adamczewski, Boris; Bugeaud, Yann (2010), "8. Transcendence and diophantine approximation", inBerthé, Valérie; Rigo, Michael (eds.),Combinatorics, automata, and number theory, Encyclopedia of Mathematics and its Applications, vol. 135, Cambridge:Cambridge University Press, p. 443,ISBN978-0-521-51597-9,Zbl1271.11073.
Kimberling, Clark (2004), "Ordering words and sets of numbers: the Fibonacci case", in Howard, Frederic T. (ed.),Applications of Fibonacci Numbers, Volume 9: Proceedings of The Tenth International Research Conference on Fibonacci Numbers and Their Applications, Dordrecht: Kluwer Academic Publishers, pp. 137–144,doi:10.1007/978-0-306-48517-6_14,ISBN978-90-481-6545-2,MR2076798.