A visualization of the Collatz Conjecture for any initial positive integer, n, checking the sequence until it should eventually narrow down to 1.
(Requires matplotlib
to be installed to run)
Or try it live on trinket.io!
A visualization of the Collatz Conjecture for any initial positive integer, n, checking the sequence until it should eventually narrow down to 1.
(Requires matplotlib
to be installed to run)
Or try it live on trinket.io!