The Collatz Sequence is this: If the output is odd, multiply by 3 and add 1.] If the output is even, divide by 2. The sequence enters an infinite loop when it reaches 1, as the next numbers being 4, 2, 1, 4, 2, 1, and so on. The 'Max Counter' variable is how long the sequence takes to reach 1. The 'my number' variable is the current number the script is finding the answer to. The 'max counter number' variable is the number that took the longest to reach 1. L bozo came down here for nothing.
Inspired by Project Euler. H E L L