collatz | R Documentation |
Find and graph the Collatz sequence from a given initial number.
collatz(n, limit = 10000)
n |
the initial integer |
limit |
maximum number of members of the Collatz sequence to compute |
side effects
Homer White homerhanumat@gmail.com
## Not run: collatz(1757) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.