powered by
Generates numbers from Fibonacci series.
fibonacci(n, PrintFib = FALSE, Uo = 0, U1 = 1)
Either an integer, result of the function or a vector of n first numbers of the series.
n
integer, the size of the series.
logical, indicating if the series should be printed.
integer, the first two numbers of the series.
Narcisse Yehouenou narcisstar211@gmail.com
The series equation is Un = U_(n-2) /U_(n-1).
fiboRate
fibonacci(n = 10, PrintFib = TRUE) fibonacci(n = 10, Uo = 1, U1 = 3, PrintFib = FALSE)
Run the code above in your browser using DataLab