Fibonacci Numbers: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:


F<sub>i</sub> = F<sub>i-1</sub> + F<sub>i-2</sub> for i ≥ 2.
F<sub>i</sub> = F<sub>i-1</sub> + F<sub>i-2</sub> for i ≥ 2.
<font color=darkgray>TODO [[CLRS]] page 108.</font>

Revision as of 23:29, 8 August 2018

Internal

Overview

We define Fibonacci numbers by the following recurrence:

F0 = 0

F1 = 1

Fi = Fi-1 + Fi-2 for i ≥ 2.

TODO CLRS page 108.