Collatz Conjecture Calculator

Collatz Conjecture Calculator

Explore the 3n + 1 sequence and observe whether it reaches 1 within the selected computation limits.

Last updated: 2026-06-09T06:07:07.128Z

Enter positive integers for the starting value and the maximum step limit.

Sequence

Steps

111

Max value

9,232

Sequence

n=0:27x3+1
n=1:82/2
n=2:41x3+1
n=3:124/2
n=4:62/2
n=5:31x3+1
n=6:94/2
n=7:47x3+1
n=8:142/2
n=9:71x3+1
n=10:214/2
n=11:107x3+1
n=12:322/2
n=13:161x3+1
n=14:484/2
n=15:242/2
n=16:121x3+1
n=17:364/2
n=18:182/2
n=19:91x3+1
n=20:274/2
n=21:137x3+1
n=22:412/2
n=23:206/2
n=24:103x3+1
n=25:310/2
n=26:155x3+1
n=27:466/2
n=28:233x3+1
n=29:700/2
n=30:350/2
n=31:175x3+1
n=32:526/2
n=33:263x3+1
n=34:790/2
n=35:395x3+1
n=36:1,186/2
n=37:593x3+1
n=38:1,780/2
n=39:890/2
n=40:445x3+1
n=41:1,336/2
n=42:668/2
n=43:334/2
n=44:167x3+1
n=45:502/2
n=46:251x3+1
n=47:754/2
n=48:377x3+1
n=49:1,132/2
... and 62 more terms

What is the Collatz conjecture?

The Collatz conjecture says that if you repeatedly apply a simple rule to any positive integer, you may eventually reach 1. It remains unproven.

If the number is even, divide by 2. If it is odd, multiply by 3 and add 1.

How to use it

1

Enter a positive integer

Invalid values are rejected instead of being parsed loosely.

2

Adjust the step limit

Increase the limit if the sequence is long or slow to reach 1.

3

Read the path

The result panel shows the step count, the largest value reached, and the full sequence.

Worked example

Starting number: 6

6 -> 3 -> 10 -> 5 -> 16 -> 8 -> 4 -> 2 -> 1

Steps to reach 1: 8

Frequently asked questions

Is the conjecture proven?

No. It remains an open problem in mathematics.

Can I enter zero or a negative number?

No. The conjecture is defined here for positive integers only.

Why does the number sometimes grow first?

Odd values become 3n + 1, which can be much larger than the starting value.

Why is the sequence interesting?

A tiny rule creates surprisingly complicated behavior, which is why mathematicians still study it.

Related Tools