{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
an=an−1+an−2 | |
---|---|
n=7 | a7=a6+a5 |
a6=8 and a5=5 | a7=8+5 |
Evaluate | a7=13 |
The sequence is named after the Italian mathematician Leonardo Fibonacci, who used it to describe how pairs of rabbits increases as they multiply under certain conditions. Sometimes, the first two numbers are defined as a1=0 and a2=1. This, however, does not change the sequence in any way other than by increasing the index of every term by one compared to the previously mentioned definition.