Welcome to the Collatz visualizer!

In here, you can visualize a Collatz sequence using the Syracuse function.

Setup and run the algorithm

First, enter an initial value x, then press Enter or click on RUN to start the algorithm.

Initial value x

Reset the UI at any time with

See the result

See the evolution of the initial number below. Each iteration of the algorithm is visible as a dot.

Credits: This website has been created by BĂ©renger Dalle-Cort using Bootstrap, Webpack, SASS and Chart.js