Skip to content

Latest commit

 

History

History

c0025

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Description

The Fibonacci sequence is defined by the recurrence relation:

Hence, the first 12 terms will be:












The 12th term, is the first term to contain three digits.

Exercise

What is the index of the first term in the Fibonacci sequence to contain 1000 digits?

Solution

You can find the algorithm to solve this challenge inside challenge.cpp.

Click here to see the result!

Result is: 4,782