Collatz conjecture Steps pattern

Collatz conjecture Steps pattern

Postby SeaN0X » Mon Mar 21, 2022 8:36 pm

Hello, I found a weird pattern and i don't know if it's some software error or something.
I found it while I was typing some random numbers to check their steps in the formula.
But with this one, things were different.


Check out this number:

9182818428198211111111111


if I replace any number 1 on the left part by any other number, the number of steps is always 565.

I really don't know what is happening here. I've tested the number 9182818428198211111111111, replacing any number 1 on the left part by any other number
on a lot of sites and even created my own software to compute it, and the result is always 565 steps.

If you don't belive me, check yourself:
https://www.omnicalculator.com/math/collatz-conjecture
SeaN0X
 
Posts: 1
Joined: Mon Mar 21, 2022 7:57 pm
Reputation: 0

Re: Collatz conjecture Steps pattern

Postby dodomaze » Tue Mar 29, 2022 4:33 pm

You need to be careful with software written in Javascript, where all numbers are represented as floating-point. The moment you use a number that big, you are only taking into account the most significant digits and losing the least significant ones, hence your result. Try Python next time!

A counterexample could be 9182818428198211111111113, which takes 807 steps.

dodomaze
 
Posts: 35
Joined: Tue Mar 29, 2022 4:29 pm
Reputation: 17


Return to Number Theory



Who is online

Users browsing this forum: No registered users and 3 guests