...

/

Challenge 3: Corresponding Fibonacci Number

Challenge 3: Corresponding Fibonacci Number

Given an index, find the corresponding Fibonacci number.

Problem Statement

Implement a function that takes a variable, testVariable, and finds the number that is placed at that index in the Fibonacci sequence.

What is the 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.

The sequence looks as follows:

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

Indexing begins at 00. Therefore, we have the element 00 ...

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