I have created a program in javascript that has tested integers on the collatz conjecture.(adsbygoogle = window.adsbygoogle || []).push({});

Recall that the collatz conjecture says given any natural number n you must devide n by 2 if it is divisible by 2 and multiply n by 3 and add 1 if it is not divisible by 2. Repeat this process and you will always reach 1.

Well this program that I have created does exactly this: Determines if the amount of steps it takes to get to 1 is equal to the initial value used in the algorithm.

It turns out that after checking millions of numbers, the only number that equals the # of steps to get to 1 is 5.

I have conjecture that this is the only case possible, out of all natural numbers.

I also have an idea why. As n → ∞, # of steps → grows larger. (you can see this by looking at the program's output.)

But it does not always get larger. Some initial values have more steps that smaller initial values.

Still the general trend is that the steps required increases, thus the probability that n_{steps}= n, approaches 0%.

Please give me ideas, what else should I study about the Collatz Conjecture? What should I try to find out? Something more interesting.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# A Conjecture on the Collatz Conjecture

**Physics Forums | Science Articles, Homework Help, Discussion**