The Wayback Machine - https://web.archive.org/web/20240619134845/https://www.geeksforgeeks.org/fibonacci-sequence/
Open In App

Fibonacci Sequence: Definition, Formula, List and Examples

Last Updated : 06 Jun, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Fibonacci sequence is a series of numbers where each number is the sum of the two numbers that come before it. The numbers in the Fibonacci sequence are known as Fibonacci numbers and are usually represented by the symbol Fₙ. Fibonacci sequence numbers start with the following 14 integers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233.

Fibonacci-sequence

Fibonacci Sequence

There are various applications of Fibonacci sequence in real life, such as in the growth of trees. As the tree grows, the trunk grows and spirals outward. The branches also follow the Fibonacci sequence, starting with one trunk that splits into two, then one of those branches splits into two, and so on.

Let’s learn about Fibonacci Sequence in detail, including Fibonacci sequence formula, properties, and examples.

Fibonacci Sequence

Fibonacci Sequence is a series of numbers in which each number, starting with 0 and 1, is generated by adding the two preceding numbers. It forms the sequence of 0, 1, 1, 2, 3, 5, 8, 13, 21,… Each number in the Fibonacci series is the sum of the two numbers before it.

It is a special sequence of numbers that starts from 0 and 1 and then the next terms are the sum of the previous terms and they go up to infinite terms. This sequence is represented as, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on.

Fibonacci Sequence = 0, 1, 1, 2, 3, 5, 8, 13, 21, ….

Fibonacci Sequence Formula

Fibonacci formula is used to find the nth term of the sequence when its first and second terms are given.

The nth term of the Fibonacci Sequence is represented as Fn. It is given by the following recursive formula,

Fn = Fn-1 + Fn-2

where,

  • n > 1
  • First term is 0 i.e., F0 = 0
  • Second term is 1 i.e., F1 = 1

Using this formula, we can easily find the various terms of the Fibonacci Sequence. Suppose we have to find the 3rd term of this Sequence then we would require the 2nd and the 1st term according to the given formula, then the 3rd term is calculated as,

    • F3 = F2 + F1 = 1 + 0 = 1

    Thus, the third term in the Fibonacci Sequence is 1, and similarly, the next terms of the sequence can also be found as,

    • F4 = F3 + F2 = 1 + 1 = 2
    • F5 = F4 + F3 = 2 + 1 = 3

    and so on.

    Read More

    List of Fibonacci sequence

    Below is the first 20 Fibonacci Sequence List.

    Terms of Fibonacci Sequence

    F0 = 0 F10 = 45
    F1 = 1 F11 = 89
    F2 = 1 F12 = 134
    F3 = 2 F13 = 223
    F4 = 3 F14 = 377
    F5 = 5 F15 = 610
    F6 = 8 F16 = 987
    F7 = 13 F17 = 1597
    F8 = 21 F18 = 2584
    F9 = 34 F19 = 4181
    • Fibonacci Sequences have infinite terms.
    • By closely observing the table we can say that Fn = Fn-1 + Fn-2 for every n > 1.

    Read More

    Fibonacci Spiral

    A Fibonacci spiral is a geometric pattern derived from the Fibonacci sequence.

    This pattern is created by drawing a series of connected quarter-circles inside a set of squares that have their side according to the Fibonacci sequence. We start the construction of the spiral with a small square, followed by a larger square that is adjacent to the first square. The side of the next square is the sum of the two previous squares, and so on.

    Each quarter-circle fits perfectly within the next square in the sequence, creating a spiral pattern that expands outward infinitely.

    Fibonacci Spiral Diagram

    After studying the Fibonacci spiral we can say that every two consecutive terms of the Fibonacci sequence represent the length and breadth of a rectangle.

    Let us now calculate the ratio of every two successive terms of Fibonacci sequence and see the result.

    • F2/F1 = 1/1 = 1
    • F3/F2 = 2/1 = 2
    • F4/F3 = 3/2 = 1.5
    • F5/F4 = 5/3 = 1.667
    • F6/F5 = 8/5 = 1.6
    • F7/F6 = 13/8 = 1.625
    • F8/F7 = 21/13 = 1.615
    • F9/F8 = 34/21 = 1.619
    • F10/F9 = 55/34 = 1.617
    • F11/F10 = 89/55 = 1.618 (Golden Ratio)

    Thus, we see that for the larger term of the Fibonacci sequence, the ratio of two consecutive terms forms the Golden Ratio.

    Note: A Fibonacci spiral is a geometric pattern derived from the Fibonacci sequence.

    Golden Ratio to find Fibonacci Sequence

    The golden ratio is a ratio between two numbers that is approximately 1.618. It is represented by the Greek letter phi “Φ”, and is also known as the golden number, golden proportion, or the divine proportion. We have observed that by taking the ratio of two consecutive terms of the Fibonacci Sequence we get the ratio called the “Golden Ratio“.

    Φ = Fn/Fn-1

    Golden Ratio Formula

    The golden ratio is derived by dividing each number of the Fibonacci series by its immediate predecessor. The formula for the golden ratio is ϕ = 1 + (1/ϕ).

    Read More

    The ratio of these two terms are,

    F11/F10 = 89/55 = 1.618 (Golden Ratio)

    Here the ratio so obtained is called the golden ratio. {Φ = 1.618 (Golden Ratio)}

    We can also calculate the Fibonacci number using the golden ratio by the formula:

    Fn = (Φn – (1-Φ)n)/√5

    where, Φ is the Golden ratio.

    Check: Fibonacci Series

    Fibonacci Series in Pascal’s Triangle

    Pascal’s triangle is a triangular array of numbers that begins with 1 at the top and 1s running down the two sides of a triangle. Each new number is the sum of the two numbers above it.

    Pascal’s triangle contains the Fibonacci sequence, which is an infinite sequence of numbers that are generated by adding the two previous terms in the sequence. The Fibonacci sequence in Pascal’s triangle is 1, 1, 2, 3, 5, 8, 13, 21, and so on.

    Fibonacci Series in Pascal's Triangle

    Fibonacci Numbers in Pascal’s Triangle

    To find the Fibonacci series in Pascal’s triangle, you can draw “shallow diagonals” from the top to the bottom of the triangle. The sum of the diagonals of Pascal’s triangle is equal to the corresponding Fibonacci sequence term.

    Fibonacci Sequence Properties

    Important properties of Fibonacci Sequence are:

    • We can easily calculate the Fibonacci Numbers using the Binet Formula:

    Fn = (Φn – (1-Φ)n)/√5

    where Φ is called Golden Ratio and its value is, Φ ≈ 1.618034.

    Using this formula we can easily calculate the nth term of the Fibonacci sequence as, for

    F34 = (Φ4 – (1-Φ)4)/√5 = ({1.618034}4– (1-1.618034)4)/√5 = 3

    • For larger terms the ratio of two consecutive terms of the Fibonacci Sequence converges to the Golden Ratio.

    This can be understood by the table added below,

    Thus, it is evident that as the number becomes larger their ratio converges close to the Golden Ratio (1.618034).

    • Multiplying a term of Fibonacci Sequence with Golden Ratio gives the next term of the Fibonacci sequence as,

    F7 in Fibonacci Sequence is 13 then F8 is calculated as,

    F8 = F7(1.618034) = 13(1.618034) = 21.0344 = 21 (approx.)

    Thus, the F8 in the Fibonacci Sequence is 21.

    • We can also calculate the Fibonacci Sequence for below zero numbers as,

    F-n = (-1)n+1Fn

    For example, F-2 = (-1)2+1F2 = -1

    • Fibonacci Numbers are used to define other mathematical concepts such as Pascal Triangle and Lucas Number.

    Fibonacci Sequence Examples

    We have solved some questions on Fibonacci Sequence to help you consolidate your concepts.

    Example 1: Find the 7th term of the Fibonacci sequence if the 5th and 6th terms are 3 and 5 respectively.

    Solution:

    Using the Fibonacci sequence recursive formula,

    7th term = 6th term + 5th term

    F6 = 3 + 5 = 8

    Thus, the 7th term of the Fibonacci Sequence is F6 = 8

    Example 2: If F9 in the Fibonacci sequence is 34. Find the next term(F10)

    Solution:

    We know that,

    Fn = Fn-1 × Φ

    where, Φ is golden ration and its value is 1.618034

    F9 = 34 × Φ

    = 34 × (1.618034)

    = 55.0131

    = 55

    Thus, the F9 term in the Fibonacci Sequence is 55.

    Example 3: Find the 10th term of the Fibonacci sequence if the 8th and 9th terms are 13 and 21 respectively.

    Solution:

    Using the Fibonacci sequence recursive formula,

    10th term = 9th term + 8th term

    F9 = 13 + 21 = 34

    Thus, the 10th term of the Fibonacci Sequence is F9 = 34

    Example 4: If F12 in the Fibonacci sequence is 144. Find the next term(F13)

    Solution:

    We know that,

    Fn = Fn-1 × Φ

    where, Φ is golden ration and its value is 1.618034

    F13 = 144 × Φ

    = 144 × (1.618034)

    = 232.996

    = 233

    Thus, the F13 term in the Fibonacci Sequence is 233.

    Must Read

    Practice Problems on Fibonacci Sequence

    1. What is the next number in the Fibonacci sequence: 0, 1, 1, 2, 3, 5, …?

    1. 6
    2. 7
    3. 8
    4. 9

    2. What is the sum of the first five Fibonacci numbers: 0, 1, 1, 2, 3?

    1. 5
    2. 7
    3. 8
    4. 10

    3. In the Fibonacci sequence, if F(6) represents the 6th term, what is the value of F(6)?

    1. 5
    2. 8
    3. 13
    4. 21

    4. What is the common ratio between consecutive Fibonacci numbers as you move further along the sequence?

    1. 1.414
    2. 1.618
    3. 2.0
    4. 3.142

    5. Which Fibonacci number is known as the “golden ratio,” often denoted by the Greek letter phi (φ)?

    1. 1.317
    2. 1.318
    3. 0.617
    4. 1.618

    Fibonacci Sequence – FAQs

    What is Fibonacci Sequence?

    Fibonacci Sequence is the sequence of the number that is generated by adding the last two numbers of the term when the first term and the second term of the sequence are, 0 and 1.

    What is Fibonacci Sequence Formula?

    Formula for generating the Fibonacci Sequence is Fn = Fn-1 + Fn-2 where n > 1.

    What is the sum of Fibonacci Sequence?

    In Fibonacci Sequence after the first two terms each new term is the sum of the previous two terms. The following first 14 integers of the Fibonacci Sequence are, 0, 1, 1, 2, 3,5, 8, 13, 21, 34, 55, 89, 144, 233,…

    What is Fibonacci Spiral?

    A geometric pattern observed in the nature derived from the Fibonacci sequence is called the Fibonacci Spiral. This pattern is observed in the nature in various aspects.

    By closely observing the Fibonacci Sequence we see that the ratio of two consecutive terms of the Fibonacci Terms converges to the Golden Ratio.

    What is formula of Fibonacci Sequence for nth term?

    Formula to find the nth term of the Fibonacci Sequence is, Fn = Fn-1 + Fn-2 where n >1

    Who discovered Fibonacci Sequence?

    Fibonacci sequence was first discovered by the famous Italian mathematician “Leonardo Fibonacci” in the early 13th century. But in Indian literature, the Fibonacci sequence was mentioned in early 200 BC literature.

    What is the application of Fibonacci Sequence?

    Fibonacci sequence is used in fields like art, architecture, and nature due to its occurrence in patterns such as the Golden Ratio. It is also used in finance for predicting market trends and in computer science for algorithm design.



    Similar Reads

    Molecular Weight Formula - Definition, Formula, Solved Examples
    An atom is the basic building block of matter i.e. everything around us is made of matter. This is the smallest unit into which matter can be divided without the release of any electrically charged particles. This is the smallest unit of matter which has the characteristic properties of a chemical element. The mass of an atom depends on the electro
    5 min read
    Fibonacci Sequence Formula
    Fibonacci Sequence Formula: Fibonacci sequence, the sequence of numbers 1, 1, 2, 3, 5, 8, 13, 21, …, each of which, after the second, is the sum of the two previous numbers; that is, the nth Fibonacci number Fn = Fn − 1 + Fn − 2. In the Fibonacci sequence, each number in the series is calculated by adding the two numbers before it. Generally, the f
    7 min read
    Molality |Definition, Formula and Examples
    Molality is the term used to express the concentration of the solution. The concentration of a solution is defined as the measure of the quantity of one substance when it is mixed with another substance. Let's learn about Molality in detail, including its definition, SI unit formula, and solved examples. Definition of MolalityThe molality of a solu
    7 min read
    Mode in Statistics | Definition, Formula and Examples
    Mode is the most frequently occurring value in a given set of data. It is a measure of central tendency that is used in statistics. In statistics, the mode is the number that comes the most frequently among a group of numbers. It is one of three measures of central tendency, alongside the mean and median. To determine the mode, count how frequently
    13 min read
    HCF and LCM: Definition, Formula, Full Form, Examples
    The full form of HCF is the Highest Common Factor while the full form of LCM is the Least Common Multiple. HCF is the largest number that divides two or more numbers without leaving a remainder. LCM is the smallest multiple that is divisible by two or more integers. Let's learn about HCF and LCM in detail. Table of Content HCF and LCM DefinitionHCF
    9 min read
    Normality - Definition, Formula, Equations and Solved Examples
    The normality formula is used to measure the concentration of a solution like molarity and molality. Normality is a measure of the number of grams equivalent to solute present given volume of the solution. Redox reactions, precipitation reactions, and acid-base chemical reactions all often make use of normality. It depends on the temperature and th
    7 min read
    Circumference of Circle - Definition, Perimeter Formula, and Examples
    Circumference of a Circle is defined as the boundary or the outer path covered by any circle. It is also called its perimeter. Let's learn about how to find a circle's circumference using formulas with the help of examples. Table of Content Circumference of Circle DefinitionCircumference of Circle FormulaCircumference to DiameterCircumference to Ra
    7 min read
    Molarity - Definition, Formula and Solved Examples
    Molarity is defined as total number of moles of solute per litre of solution. It is represented by M. In chemistry, the molarity is one of the concentration units. The concentration of solutions can be expressed more effectively using measurements based on moles. The SI unit of Molarity is Mole. A mole is an SI unit that measures the amount of a su
    7 min read
    Volume of a Cylinder: Formula, Definition and Examples
    Volume of a Cylinder is defined as the space occupied by the Cylinder. Formula for the volume of a cylinder is equal to πr2h where r is the radius of the base and h is the height of the cylinder. A cylinder is a 3-dimensional solid figure with two identical bases connected by a curving surface. Now learn about the Volume of a Cylinder Definition, t
    9 min read
    Unit Circle: Definition, Formula, Diagram and Solved Examples
    Unit Circle is a Circle whose radius is 1. The center of unit circle is at origin(0,0) on the axis. The circumference of Unit Circle is 2π units, whereas area of Unit Circle is π units2. It carries all the properties of Circle. Unit Circle has the equation x2 + y2 = 1. This Unit Circle helps in defining various Trigonometric concepts. The Unit Circ
    7 min read