Vyxapedia

Element - ∆f - nth Fibonacci Number

Characters: , f


Description

Get the nth fibonacci number, 1-indexed


Overloads

  • num - nth_fibonacci(a) (0 -> 1, 1 -> 1, 2 -> 2, ...)

Examples

  • 0 ∆f = 1
  • 1 ∆f = 1
  • 2 ∆f = 2
  • 3 ∆f = 3
  • 4 ∆f = 5
  • 5 ∆f = 8
  • 6 ∆f = 13
  • 7 ∆f = 21
  • 8 ∆f = 34
  • 9 ∆f = 55
  • -5 ∆f = -3