Clockwise arc diagram visualization of the parity reformulation of the Collatz function.
This example shows the orbit of the parity map 25 -> 38 -> 19 -> 44 -> 11 -> 26 -> 13 -> 20 -> 5 -> 8 -> 1.
- Show or hide differences between increments or decrements of n_{t} - n_{t-1} (edgeLabels = True/False)
- Show or hide nodes on the number line (hideNodes = True/False)
- Diagrams can be saved/displayed as either SVGs or PNGs
- Language: Python 3
- Dependencies:
- mpmath
- math
- drawSvg
- functools
This project is licensed under the terms of the MIT license.