2011 PUMaC Algebra A3 / B6
Source:
September 24, 2019
algebra
Problem Statement
Shirley has a magical machine. If she inputs a positive even integer , the machine will output , but if she inputs a positive odd integer , the machine will output . The machine keeps going by automatically using its output as a new input, stopping immediately before it obtains a number already processed. Shirley wants to create the longest possible output sequence possible with initial input at most . What number should she input?