Generate Fibonacci numbers in a range
The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones, starting from 0 and 1. The sequence begins: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on.
F₀ = 0, F₁ = 1,
Fₙ = Fₙ₋₁ + Fₙ₋₂ for n ≥ 2
The Fibonacci sequence is named after Italian mathematician Leonardo of Pisa, later known as Fibonacci, who introduced it to Western mathematics in his 1202 book Liber Abaci, though the sequence was known in Indian mathematics earlier.