fibonacci | R Documentation |
Uses the Golden Ratio to find and test Fibonacci and Lucas numbers.
fibonacci(n)
lucas(n)
is.fibonacci(x)
fibonacci.order(x)
fibonacci.under(m)
n |
the index of the sequence numbers to compute. |
x |
number to test for presence in the Fibonacci sequence or get the position of. |
m |
maximum limit to find the largest Fibonacci number than. |
Number vector of sequence numbers.
Boolen vector.
Number vector of Fibonacci numbers.
fibonacci(1:10)
lucas(1:10)
is.fibonacci(1:10)
fibonacci.under(100)
fibonacci.order(55)
fibonacci(1:fibonacci.order(55))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.