# Collatz calculator

## The Collatz conjecture

is the conjecture that the Collatz sequence always reaches 1. The sequence is defined by starting with some integer $n$0 and performing the following operations repeatedly:

If $n$ is odd, the next $n$ is $3n+1$.

If $n$ is even, the next $n$ is $n÷2$.

No-one has been able to prove the conjecture yet, so this calculator lets you try out any number to check if it reaches 1! As of 2020, the conjecture has been tested up to 268 (295,147,905,179,352,825,856) [source].
You can use this calculator to test any number you want.

## Try a number

This is the number at which the collatz sequence will start.

### {n0}

$n$0= {n0} took {steps_n} steps to get to 1, and reached a maximum intermediary number of {max}.