Find the nth Fibonacci number Fn

Importantly, n = 0, 1, 2, 3, ... and so on!

Your n value   
     view source code (iterative algorithm)

Definition

Courtesy of Wikipedia In mathematics, the Fibonacci numbers, commonly denoted Fn form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. That is,

F0 = 0
F1 = 1
Fn = Fn-1 + Fn-2 for n > 1