View source: R/system_sequence.R
seq_collatz | R Documentation |
Calculate the Collatz sequence recursively
seq_collatz(i, end = 1, max = 1000)
i |
initial value |
end |
value used to end recursion |
max |
maximum number of iterations |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.