Fibonacci Number
Formula:F(n) = F(n - 1) + F(n - 2)
, with F(0) = 0
and F(1) = 1
.
Introduction to Fibonacci Number Calculator
The Fibonacci sequence is a series of numbers where each number after the first two is the sum of the two preceding ones. This calculator computes the n-th Fibonacci number given a non-negative integer n.
Parameter usage:
n
= Non-negative integer representing the position in the Fibonacci sequence.
Output:
- The n-th Fibonacci number.
Data validation
The parameter n
should be a non-negative integer.
Summary
The calculator is used to find the Fibonacci number at a specific position in the sequence.
Tags: Mathematics, Fibonacci, Sequence