Description Usage Arguments Value Examples
Returns the nth term from the recursive sequence xn=xn−1+(xn−3−xn−2)/n.
1 | santifunc1(x, n)
|
x |
a vector of length 3 |
n |
the number of terms for the recursive sequence |
returns the nth term from the recursive sequence
1 2 | santifunc1(x = c(2, 4, 3), n = 2)
santifunc1(x = c(2, 4, 3), n = 6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.