My 7 year old is fascinated with numbers. Recently he learned about the Collatz Conjecture, and has since been busy calculating the series for all the numbers from 1-100 in his “Yummy Math Book”. As he was showing me the chart for his latest - the number 27 - earlier this evening, it occurred to me that “I should make a Glide App for this”.
Never heard of the Collatz Conjecture before, but you made me pull out a calculator and it is fascinating. Would be interesting to allow entry of 3 or 4 numbers and have multiple lines on the graph to see how they compare.
Even better, if you could get the steps to “right align”, or populate at the end of the table, you could see where each graph line converges. Might notice patterns with certain combinations of numbers.
Tried to reply to this in the above, but my phone is being spastic
hmm, I think that should be doable. Will take a look.
One thing I will say is that I was surprised at how blindly fast it is at calculating the series. It’s just done with a simple JavaScript function that I spent about 2 minutes writing, so I’m sure it could be optimised. Although, I haven’t tried it with 10^200 yet, that might melt my phone
I do follow Veritasium and watch their videos every once in a while. Vsauce is a good one too, or SmarterEveryDay. Good content when I want to feel smart…or dumb . Interesting video though. Interesting seeing all the patterns that form.
Now I want to see your kid (and you) solve the problem with a Glide app. I think your phone could handle that amount of processing, right?
oh… there seems to be a bug with the Chart component where it doesn’t render the X Axis labels correctly in the mouse-over, or at all in the Legend. Annoying