The Fibonacci sequence is a sequence of integers in which each term is the sum of the two preceding terms. Under the standard indexing convention, it begins . Its simple definition produces connections among number theory, combinatorics, and algebra. The sequence is named after Fibonacci, the medieval mathematician Leonardo of Pisa, although its formation rule was known in India before his work. (dlmf.nist.gov)
Definition and indexing
The Fibonacci numbers are defined by the initial conditions
and the recurrence relation
Thus , , and . The initial conditions are essential: the same recurrence with different starting values generally produces a different sequence. (dlmf.nist.gov)
Some presentations omit the initial zero and begin with ; others shift the indices. Consequently, “the th Fibonacci number” is unambiguous only when the indexing convention is specified. This article uses and . (dlmf.nist.gov)
Historical origins
The sequence arose in Indian studies of Sanskrit poetic meter. If a short syllable contributes one unit of duration and a long syllable contributes two, counting the arrangements of a given total duration leads to the Fibonacci recurrence. Historical scholarship identifies this formation rule in the work of Virahāṅka, dated between approximately 600 and 800 CE, Gopāla before 1135, and Hemacandra around 1150. These precede Fibonacci’s account. (sciencedirect.com)
Fibonacci presented the sequence through a rabbit-breeding problem in Liber abaci, first written in 1202 and revised in 1228. The idealized population begins with one pair; each pair becomes reproductive after a fixed delay and subsequently produces one new pair per month, while no rabbits die. The population in a month equals the surviving population from the previous month plus offspring produced by pairs present two months earlier. This yields the recurrence, not a realistic model of rabbit ecology. (mathshistory.st-andrews.ac.uk)
Closed form and the golden ratio
Although defined recursively, has an explicit expression, commonly called Binet’s formula:
The number is the golden ratio, and . (dlmf.nist.gov)
The formula follows by looking for solutions of the recurrence proportional to . Substitution gives the polynomial equation
whose roots are and . A suitable linear combination of their powers satisfies the two initial conditions. Thus the irrational quantities in Binet’s formula combine to give an integer for every nonnegative integer . (fibonacci-numbers.surrey.ac.uk)
Because , its powers tend to zero. Consequently,
The sequence therefore grows exponentially, while ratios of consecutive terms approach the golden ratio. More precisely, for ,
This rounding identity assumes exact arithmetic; it does not guarantee correct results when large powers are evaluated with limited numerical precision. (fibonacci-numbers.surrey.ac.uk)
Algebraic representations
A matrix packages the recurrence as a single transformation. For ,
The matrix’s eigenvalues are and . Its diagonalization supplies another derivation of Binet’s formula. (fibonacci-numbers.surrey.ac.uk)
The ordinary generating function is
To derive this expression, multiply the series by : the recurrence cancels every coefficient beyond the coefficient of . The identity holds as a formal power series and, analytically, for . (fibonacci-numbers.surrey.ac.uk)
Counting interpretations
Fibonacci numbers count arrangements built from pieces of size one and two. Consider tiling a strip of unit cells using single-cell tiles and two-cell dominoes. Every tiling ends either with a single tile, leaving a strip of length , or with a domino, leaving one of length . With one empty tiling and one tiling of length one, the number of tilings is . The same reasoning counts ordered sums of whose summands are one or two. (fibonacci-numbers.surrey.ac.uk)
Grouping such tilings by the number of dominoes gives a formula using binomial coefficients:
There are tiles altogether, and choosing which are dominoes determines the tiling. This also explains the appearance of Fibonacci numbers in diagonal sums of Pascal’s triangle. (fibonacci-numbers.surrey.ac.uk)
Identities and divisibility
Several identities express the structure of the sequence:
and Cassini’s identity,
Cassini’s identity follows by taking the determinant of the matrix representation, since the defining matrix has determinant . (fibonacci-numbers.surrey.ac.uk)
A central divisibility property is
where denotes the greatest common divisor. Consecutive Fibonacci numbers are therefore relatively prime, and divides whenever divides . (fibonacci-numbers.surrey.ac.uk)
Fibonacci numbers also provide a unique representation of positive integers. Zeckendorf’s theorem states that every positive integer is a sum of distinct, nonconsecutive Fibonacci numbers drawn from . For example,
Excluding avoids ambiguity from the two occurrences of 1. (fibonacci-numbers.surrey.ac.uk)
Computation
Direct recursive evaluation repeats many calculations. An iterative algorithm instead retains two consecutive values and repeatedly replaces them by the next pair. Computing this way requires a number of additions proportional to , while storing only a fixed number of integer variables. (fibonacci-numbers.surrey.ac.uk)
Faster evaluation uses doubling identities:
These compute a pair of consecutive terms by repeatedly halving the target index, giving logarithmically many arithmetic stages. Matrix exponentiation offers a related method. This is an arithmetic-operation count, not a claim of logarithmic bit-level running time: the integers themselves grow in length with . (fibonacci-numbers.surrey.ac.uk)
Related sequences
The Lucas numbers follow the same recurrence but begin with and :
They satisfy
They illustrate how changing initial conditions preserves the recurrence while altering its particular solution. (dlmf.nist.gov)
Plant patterns and limits of interpretation
Fibonacci numbers occur frequently in phyllotaxis, the arrangement of leaves and other plant organs. Spiral patterns in flower heads and cones often have clockwise and counterclockwise spiral counts that are consecutive Fibonacci numbers. Mathematical growth models connect these patterns with divergence angles near the golden angle, approximately , and the rational approximations associated with the golden ratio. (arxiv.org)
These patterns are prevalent, not universal. Some plants exhibit Lucas-number counts or other arrangements. Their occurrence concerns particular growth and packing processes; it does not establish a general law that all natural forms follow the Fibonacci sequence. (fibonacci-numbers.surrey.ac.uk)
References
- DLMF: §26.11 Integer Partitions: Compositionsdlmf.nist.gov
- DLMF: §24.15 Related Sequences of Numbersdlmf.nist.gov
- Fibonacci (1170–1250) — Biography — MacTutor History of Mathematicsmathshistory.st-andrews.ac.uk
- Fibonacci's Rabbitsmath.oxford.emory.edu
- A Formula for the n-th Fibonacci numberfibonacci-numbers.surrey.ac.uk
- Two Proofs of the Fibonacci Numbers Formulafibonacci-numbers.surrey.ac.uk
- The Mathematical Magic of the Fibonacci Numbersfibonacci-numbers.surrey.ac.uk
- Fibonacci bases and Other Ways of Representing Numbersfibonacci-numbers.surrey.ac.uk
- Fibonacci numbers in phyllotaxis: a simple modelarxiv.org
- Phyllotaxis, disk packing and Fibonacci numbersarxiv.org
- The Fibonacci Numbers and Golden section in Nature — 1fibonacci-numbers.surrey.ac.uk