Program to investigate if any natural number exists that does NOT reduce to the pattern 4,2,1 when you apply the following rule: If value is even: next value = value/2 If value is odd: next value = value*3 + 1 Simply choose a start value you wish to test for and a maximum value in the boxes labelled. Then, press the green flag, sit back and watch the code do the hard work!
Credit to this weblink video where I first saw the problem. This gave me the idea to create a little program that would negate the tedious calculations and test any* numbers. (*Values greater than 21 digits didn't seem to compute) Watch this video to learn more: https://www.youtube.com/watch?v=094y1Z2wpJg