Output can be text or png (png requires graphviz). Can produce regular binary Collatz tree or Collatz-like trees without even numbers.
- Note: The trees start at 8 to avoid the 4-2-1 loop.
- Note': See the end of the file for two example text trees.
- Note": There is a .py version of this gist here: mathieucaroff/collatz-tree.py.