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 until the sequence eventually narrows down to 1.
Python
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!