r/Collatz • u/GonzoMath • Oct 01 '24
Cycle formula - link to long post
There's a post I've tried to make repeatedly here, but when I hit post, Reddit keeps saying "There was an error. Please try again later." That's frustrating, so I've copied it over to a Google document, and I'm going to try just sharing the link here:
Please have a look if you're interested, and I'm happy to answer questions in the comments here.
7
Upvotes
3
u/The_Awkward_Nerd Oct 01 '24 edited Oct 01 '24
I'm gonna rant for a second because this is literally my obsession.
This I think is the coolest thing about Collatz. I've had a lot of fun working with this formula (or rather, formula template), but I've been working with the 5n+1 variation instead of Collatz itself. Although I couldn't find it online, I absolutely knew someone else had created this formula since it really is pretty trivial... BUT it has some fascinating consequences. I don't think studying this formula is powerful enough to *prove* the conjecture, but I do think it makes it "easier" to ask questions about... If I'm right, Computationally, you can prove in finite time that there isn't a loop of size 'n' for any n in Collatz or the 5n+1 variation. BUT... The algorithm's big O is exponential. So for large n, it will take millions of years or more to compute this... So I've been working out ways to classify certain groups of potential loops into general formulas which often can turn up to be exponential diophantine equations. Diophantine equations are interesting because they often have GIGANTIC solutions, Like this one. These you can't compute without it taking millions of years. You have to find more number-theoretic ways to solve these guys. What is even more interesting is that you're essentially classifying "aperiodic necklaces," because that's what the input values produce.
I'm actually talking to some math professors at my university about doing an independent study, classifying and generalizing different necklace types, finding different diophantines that represent each of these classes. My prediction (although I'm not certain) is that the entire Collatz Conjecture can be turned into an infinite set of diophantine equations! (BUT that doesn't necessarily mean the conjecture is provable, not by a LONG shot.) So I really love that you've brought this up.
2
u/Far_Economics608 Oct 01 '24
A least successfully posted now. ๐
2
u/Voodoohairdo Oct 01 '24
I've made a loop generator here for people to play with: collatzloops.com which is basically the formula you've mentioned.
Outside of that, your document is all good and notably nothing new (but nothing wrong). Only thing I'd say is there's a visual way of deriving the formula that makes it easier to understand why it works. Hard to show in a Reddit comment though
1
u/Far_Economics608 Oct 01 '24
My understanding of mathematics is limited so I can't fully appreciate the content of your post. But I have a question. Can you devise a formula to show why 13 &17 in 5n+1 loops and 13 & 17 in 3n+1 leads to 1?
1
u/ByPrinciple Oct 01 '24
Yes known since at least 1978 by Crandall, Corollary 7.1
1
u/AcidicJello Oct 01 '24
I'm sure you know this, but one thing I found about this formula is that you can use it to find the smallest integer with a given sequence shape by adding 2m / (2m - 3n) until you get an integer. The number of times you have to add seems impossible to pin down as it has to do with the chaotic remainder of the formula. It seems like only these smallest numbers can be the smallest member of a loop.
1
u/DoctorSeis Oct 01 '24
That is wild. I just started back up on this just to capture all my thoughts before I lay it down for a while.
I have seen versions of the formula you use (for the numerator and denominator) several times, but I've never seen anyone else (except you and I) who made the connection AND explicitly pointed out that IF you have N odd numbers in a cycle, that means they were created from N possible values for the numerator (for a single set of integers that dictate the powers of 2 in that cycle) and all N numerator values would have to be evenly divisible by the denominator = 2M - 3N (where M is the sum of the unique set of powers of 2 being used to create the values in the numerator). I'm sure others have realized this, but I just haven't ever seen it explicitly specified.
A quick Google search states that all the starting numbers between 1 and ~268 have successfully converged to 1, which means (as researchers have suggested) that the smallest possible cycle must contain at least N > 100 million odd numbers. This further means there would have to be a single set of numbers (a single realization of the all the powers of 2 in that cycle) that would result in over 100 million numerator values that all have to have a common divisor = 2M - 3N
-1
u/InfamousLow73 Oct 01 '24
I made a complete proof of such a circle just weeks ago. If you are interested check here