Real-time computation

Collatz Conjecture Calculator

Explore the famous 3n + 1 problem. Enter any positive integer and visualize its trajectory.

Real-time computation📋Detailed steps📈Interactive graph📊Metrics & analysisExport results

Options

Use (3n + 1) / 2 for odd numbers

Use log scale on the graph

Safety limit to prevent freezing

Steps

111

Transitions required to reach 1

Highest Peak

9,232

Maximum value reached

Odd Steps

41

36.9% of total

Even Steps

70

63.1% of total

Final Value

1

Converged ✓

Trajectory Graph

Value
11.8k3.7k5.5k7.4k9.2k014284256698397111Step

Step-by-Step Sequence

112 steps
StepValueParityOperationNext Value
027Odd3n + 1 = 3 × 27 + 182
182Evenn / 2 = 82 / 241
241Odd3n + 1 = 3 × 41 + 1124
3124Evenn / 2 = 124 / 262
462Evenn / 2 = 62 / 231
531Odd3n + 1 = 3 × 31 + 194
694Evenn / 2 = 94 / 247
747Odd3n + 1 = 3 × 47 + 1142
8142Evenn / 2 = 142 / 271
971Odd3n + 1 = 3 × 71 + 1214
10214Evenn / 2 = 214 / 2107
11107Odd3n + 1 = 3 × 107 + 1322
12322Evenn / 2 = 322 / 2161
13161Odd3n + 1 = 3 × 161 + 1484
14484Evenn / 2 = 484 / 2242
Rows per page:

Sequence Summary

Start Number
27
Steps
111
Highest Peak
9,232
Odd Steps
41 (36.9%)
Even Steps
70 (63.1%)
Average Value
905.71
Sequence length
112

Steps = transitions to reach 1. This matches the records table definition. Sequence length (one more) is shown below.

Sequence End

The sequence reached 1.

It will now repeat: 4, 2, 1, 4, 2, 1…

About the Conjecture

The Collatz Conjecture (also called the 3n + 1 problem) states that for any positive integer n, repeated application of the rule:

  • If n is even, divide by 2.
  • If n is odd, multiply by 3 and add 1.

…will always eventually reach 1. Despite being simple to state, it remains unproven.

Learn more →

Custom Conjecture Lab

Experiment with rule variants and see how sequences behave.

Changing the rules creates a different problem. There is no guarantee that it will reach 1 or behave like the classic Collatz sequence.

Divide by
Multiply bythen add
steps

Presets

Billions Tested

The conjecture has been verified computationally for very large ranges of positive integers.

All systems operational

Unproven

No complete mathematical proof exists yet for all positive integers.

Simple to State

Easy to explain to anyone, yet incredibly difficult to prove for the general case.

Infinite Curiosity

A problem that continues to fascinate mathematicians and computational researchers worldwide.