- fibonacci nprocedure
- n
- integer
Returns the nth Fibonacci number; n must be nonnegative.
The ten first Fibonacci numbers:
> (map fibonacci (iota 10)) '(0 1 1 2 3 5 8 13 21 34)
Wikipedia: Fibonacci Number
Returns the nth Fibonacci number; n must be nonnegative.
The ten first Fibonacci numbers:
> (map fibonacci (iota 10)) '(0 1 1 2 3 5 8 13 21 34)
Wikipedia: Fibonacci Number