The Collatz Procedure is or, in other words, one application of the procedure is if the number is even, then the result is division of the number by 2, otherwise the result of the procedure is multiply the number by 3 and then add 1 to the product. The procedure is normally applied to positive integers. In this problem, the procedure will only be applied to positive integers. Usually, if the procedure is applied to the previous result repetitively, then a 4-2-1 cycle will be reached. It is conceivable that some other cycle might be reached or the numbers will never reach a cycle of some sort.
This problem's question: For the starting integers from 1 to 99, including the starting integer and the 4-2-1 that ends the procedure, what is the highest integer reached by any starting integer? Enter your answer as 100*(the highest value reached)+(the starting integer).
Note: This is a computation problem. A computer solution is acceptable.
Clarification: the sequence starting integer in the answer should the minimum integer to reach the maximum.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
While 27 is the first integer less than 100 which yields a maximum of 9232, there are many others. What is special about 27? I found these, too.
Since the starting integer is encoded into the answer, I got it wrong. Am I missing something?