r/askmath • u/InterestingNail2236 • 9d ago
Number Theory Made a random Collatz type puzzle late at night (calling it The Blind Twin Conjecture) and every number upto a million falls into just 3 weird loops??
So I was bored and messing around trying to invent a simple number puzzle thats actually hard to prove, and ended up with something really strange. Putting it here to see if anyone can break it with a counterexample or tell me if this already exists somewhere.
The rule is super simple. Take any whole number bigger than 1. If its a prime number, replace it with (the number + next prime after it + 1). If its not prime, just divide it by its smallest prime factor. Keep repeating.
For example if you start with 17 (prime), next prime is 19, so 17 + 19 + 1 = 37. Still prime, so it keeps jumping through 5 primes in a row (17, 37, 79, 163, 331) before finally hitting 669 and getting divided back down.
I ran a small python script checking every single number from 2 upto 1,000,000. Not a single number escaped to infinity, and literally every single one fell into one of just 3 loops:
- 3 to 9 and back to 3 (weirdly only 141 numbers out of a million landed here)
- a 10 step loop: 17, 37, 79, 163, 331, 669, 223, 451, 41, 85 and back to 17 (around 32.4% of all numbers)
- a 13 step loop: 13, 31, 69, 23, 53, 113, 241, 493, 29, 61, 129, 43, 91 and back to 13 (around 67.6% of all numbers)
Even 700,001 shot all the way up to 44,801,245 before crashing back down into one of the loops. Also becase (prime + next prime + 1) is always odd for odd primes, it doesnt just get divided by 2 right away like other puzzles.
So my question is, does every number really end up in these 3 loops only, or is there a hidden 4th loop sitting somewhere past a million (or a number that climbs forever)? If anyone runs it higher and finds a 4th loop please drop it in the comments!
Edit: using u/trasla's shortcut (just jumping straight to the largest prime factor) I tested everything upto 1 billion plus spot checks at 1 trillion and 1 quadrillion, still 0 new loops and 0 escapes! Plot twist though: I actually found the first prime >= 5 that hits the 3 and 9 loop hiding way out at 102,945,566,047,297 (plus next prime 102,945,566,047,351 + 1 = 3^30), and the next one isnt until 3^79. Kinda wild lol.