Fibonacci word

Last updated
Characterization by a cutting sequence with a line of slope
1
/
ph
{\displaystyle 1/\varphi }
or
ph
-
1
{\displaystyle \varphi -1}
, with
ph
{\displaystyle \varphi }
the golden ratio. Fibonacci word cutting sequence.png
Characterization by a cutting sequence with a line of slope or , with the golden ratio.
Fibonacci curve F10.svg
Fibonacci curve F17.svg
Fibonacci curves made from the 10th and 17th Fibonacci words [1]

A Fibonacci word is a specific sequence of binary digits (or symbols from any two-letter alphabet). The Fibonacci word is formed by repeated concatenation in the same way that the Fibonacci numbers are formed by repeated addition.

Contents

It is a paradigmatic example of a Sturmian word and specifically, a morphic word.

The name "Fibonacci word" has also been used to refer to the members of a formal language L consisting of strings of zeros and ones with no two repeated ones. Any prefix of the specific Fibonacci word belongs to L, but so do many other strings. L has a Fibonacci number of members of each possible length.

Definition

Let be "0" and be "01". Now (the concatenation of the previous sequence and the one before that).

The infinite Fibonacci word is the limit , that is, the (unique) infinite sequence that contains each , for finite , as a prefix.

Enumerating items from the above definition produces:

   0
   01
   010
   01001
   01001010
   0100101001001
...

The first few elements of the infinite Fibonacci word are:

0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, ... (sequence A003849 in the OEIS )

Closed-form expression for individual digits

The nth digit of the word is where is the golden ratio and is the floor function (sequence A003849 in the OEIS ). As a consequence, the infinite Fibonacci word can be characterized by a cutting sequence of a line of slope or . See the figure above.

Substitution rules

Another way of going from Sn to Sn+1 is to replace each symbol 0 in Sn with the pair of consecutive symbols 0,1 in Sn+1, and to replace each symbol 1 in Sn with the single symbol 0 in Sn+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 the rabbit 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

0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, ...

However this sequence differs from the Fibonacci word only trivially, by swapping 0s for 1s and shifting the positions by one.

A closed form expression for the so-called rabbit sequence:

The nth digit of the word is

Discussion

The word is related to the famous sequence of the same name (the Fibonacci sequence) in the sense that addition of integers in the inductive definition is replaced with string concatenation. This causes the length of Sn to be Fn+2, the (n+2)nd Fibonacci number. Also the number of 1s in Sn is Fn and the number of 0s in Sn is Fn+1.

Other properties

Applications

Fibonacci based constructions are currently used to model physical systems with aperiodic order such as quasicrystals, and in this context the Fibonacci word is also called the Fibonacci quasicrystal. [11] Crystal growth techniques have been used to grow Fibonacci layered crystals and study their light scattering properties. [12]

See also

Notes

  1. Ramírez, Rubiano & De Castro (2014).
  2. 1 2 Berstel (1986), p. 13.
  3. Adamczewski & Bugeaud (2010).
  4. Sloane, N. J. A. (ed.), "SequenceA003849", The On-Line Encyclopedia of Integer Sequences , OEIS Foundation
  5. Lothaire (2011), p. 47.
  6. For the subwords that do occur, see Berstel (1986), pp. 14 and 18 (using the letters a and b in place of the digits 0 and 1)
  7. de Luca (1995).
  8. Allouche & Shallit (2003), p. 37.
  9. Lothaire (2011), p. 11.
  10. Kimberling (2004).
  11. Bombieri & Taylor (1986).
  12. Dharma-wardana et al. (1987).

Related Research Articles

<span class="mw-page-title-main">Fibonacci sequence</span> Numbers obtained by adding the two previous ones

In mathematics, the Fibonacci sequence is a sequence in which each number is the sum of the two preceding ones. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers, commonly denoted Fn. The sequence commonly starts from 0 and 1, although some authors start the sequence from 1 and 1 or sometimes from 1 and 2. Starting from 0 and 1, the sequence begins

<span class="mw-page-title-main">Floor and ceiling functions</span> Nearest integers from a number

In mathematics, the floor function is the function that takes as input a real number x, and gives as output the greatest integer less than or equal to x, denoted x or floor(x). Similarly, the ceiling function maps x to the smallest integer greater than or equal to x, denoted x or ceil(x).

<span class="mw-page-title-main">Lucas number</span> Infinite integer series where the next number is the sum of the two preceding it

The Lucas sequence is an integer sequence named after the mathematician François Édouard Anatole Lucas (1842–1891), who studied both that sequence and the closely related Fibonacci sequence. Individual numbers in the Lucas sequence are known as Lucas numbers. Lucas numbers and Fibonacci numbers form complementary instances of Lucas sequences.

In recreational mathematics, a Keith number or repfigit number is a natural number in a given number base with digits such that when a sequence is created such that the first terms are the digits of and each subsequent term is the sum of the previous terms, is part of the sequence. Keith numbers were introduced by Mike Keith in 1987. They are computationally very challenging to find, with only about 100 known.

In number theory, a formula for primes is a formula generating the prime numbers, exactly and without exception. Formulas for calculating primes do exist, however, they are computationally very slow. A number of constraints are known, showing what such a "formula" can and cannot be.

In abstract algebra, the free monoid on a set is the monoid whose elements are all the finite sequences of zero or more elements from that set, with string concatenation as the monoid operation and with the unique sequence of zero elements, often called the empty string and denoted by ε or λ, as the identity element. The free monoid on a set A is usually denoted A. The free semigroup on A is the subsemigroup of A containing all elements except the empty string. It is usually denoted A+.

<span class="mw-page-title-main">Sturmian word</span> Kind of infinitely long sequence of characters

In mathematics, a Sturmian word, named after Jacques Charles François Sturm, is a certain kind of infinitely long sequence of characters. Such a sequence can be generated by considering a game of English billiards on a square table. The struck ball will successively hit the vertical and horizontal edges labelled 0 and 1 generating a sequence of letters. This sequence is a Sturmian word.

<span class="mw-page-title-main">Jacques Philippe Marie Binet</span> French mathematician, physicist and astronomer

Jacques Philippe Marie Binet was a French mathematician, physicist and astronomer born in Rennes; he died in Paris, France, in 1856. He made significant contributions to number theory, and the mathematical foundations of matrix algebra which would later lead to important contributions by Cayley and others. In his memoir on the theory of the conjugate axis and of the moment of inertia of bodies he enumerated the principle now known as Binet's theorem. He is also recognized as the first to describe the rule for multiplying matrices in 1812, and Binet's formula expressing Fibonacci numbers in closed form is named in his honour, although the same result was known to Abraham de Moivre a century earlier.

The Engel expansion of a positive real number x is the unique non-decreasing sequence of positive integers such that

In mathematics, in the areas of combinatorics and computer science, a Lyndon word is a nonempty string that is strictly smaller in lexicographic order than all of its rotations. Lyndon words are named after mathematician Roger Lyndon, who investigated them in 1954, calling them standard lexicographic sequences. Anatoly Shirshov introduced Lyndon words in 1953 calling them regular words. Lyndon words are a special case of Hall words; almost all properties of Lyndon words are shared by Hall words.

In mathematics and theoretical computer science, an automatic sequence (also called a k-automatic sequence or a k-recognizable sequence when one wants to indicate that the base of the numerals used is k) is an infinite sequence of terms characterized by a finite automaton. The n-th term of an automatic sequence a(n) is a mapping of the final state reached in a finite automaton accepting the digits of the number n in some fixed base k.

In mathematics, the Fibonacci numbers form a sequence defined recursively by:

In mathematics, a Beatty sequence is the sequence of integers found by taking the floor of the positive multiples of a positive irrational number. Beatty sequences are named after Samuel Beatty, who wrote about them in 1926.

Combinatorics on words is a fairly new field of mathematics, branching from combinatorics, which focuses on the study of words and formal languages. The subject looks at letters or symbols, and the sequences they form. Combinatorics on words affects various areas of mathematical study, including algebra and computer science. There have been a wide range of contributions to the field. Some of the first work was on square-free words by Axel Thue in the early 1900s. He and colleagues observed patterns within words and tried to explain them. As time went on, combinatorics on words became useful in the study of algorithms and coding. It led to developments in abstract algebra and answering open questions.

In mathematics, the Fibonorialn!F, also called the Fibonacci factorial, where n is a nonnegative integer, is defined as the product of the first n positive Fibonacci numbers, i.e.

In computer science, the complexity function of a word or string is the function that counts the number of distinct factors of that string. More generally, the complexity function of a formal language counts the number of distinct words of given length.

In mathematics, the Wythoff array is an infinite matrix of integers derived from the Fibonacci sequence and named after Dutch mathematician Willem Abraham Wythoff. Every positive integer occurs exactly once in the array, and every integer sequence defined by the Fibonacci recurrence can be derived by shifting a row of the array.

In mathematics and computer science, a morphic word or substitutive word is an infinite sequence of symbols which is constructed from a particular class of endomorphism of a free monoid.

The Fibonacci word fractal is a fractal curve defined on the plane from the Fibonacci word.

In number theory, the totient summatory function is a summatory function of Euler's totient function defined by:

References