...

/

Computing Fibonacci Sequence

Computing Fibonacci Sequence

In this lesson, we will learn how to compute the Fibonacci sequence using recursion.

What is a Fibonacci Sequence?

The Fibonacci Sequence is one of the most famous formulas in mathematics. Each number in the sequence is the sum of the two numbers that precede it.

So, the sequence goes:

$ 0, 1, 1, 2, 3, 5, 8, 13, 21, 34 … $

Generic Mathematical Notation

Any number at position n in the series can be calculated using the following equation:

FFn =F=Fn-2+F+F ...

Access this course and 1400+ top-rated courses and projects.