Math Tools

Explore mathematical concepts with interactive tools

Collatz Sequence Calculator

What is the Collatz Conjecture?

The Collatz Conjecture states that if we take any positive integer and repeatedly apply the following rules, we will eventually reach 1:

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

Example: Starting with 6

Step by step:

  • 6 → even → 6 ÷ 2 = 3
  • 3 → odd → (3 × 3) + 1 = 10
  • 10 → even → 10 ÷ 2 = 5
  • 5 → odd → (5 × 3) + 1 = 16
  • 16 → even → 16 ÷ 2 = 8
  • 8 → even → 8 ÷ 2 = 4
  • 4 → even → 4 ÷ 2 = 2
  • 2 → even → 2 ÷ 2 = 1

The sequence for 6 is: 6, 3, 10, 5, 16, 8, 4, 2, 1