Nothing

knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )

After following the "Get Started + Install" guide;

library(collatz) # Optionally library(gmp)

Compute a tree graph, which takes both a value to initialise the tree from, and an "orbit distance" for how many layers deep in the tree to compute;

tree_graph(16, 3)

It will also stop on finding a cycle;

tree_graph(4, 3)

And can be parameterised;

tree_graph(1, 1, -3, -2, -5)

If b is a multiple of a, but not of Pa, then 0 can have a reverse;

tree_graph(0, 1, 17, 2, -6)

The tree graph can run on `bigz`

;

tree_graph((27+as.bigz("576460752303423488")), 3)

**Any scripts or data that you put into this service are public.**

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.