2021 Selection · Dhaka · Higher Secondary 10/10 বাং

Question 10

Number theory BDMO 2021 Selection · Dhaka

You have a magical machine that when given an even integer as input returns one-half of it. And when it is given an odd integer as input, it adds three to that integer and returns it. The machine then keeps on going by using its output as input. The only time it stops is when it sees a number it has already seen. To make sure the machine runs as long as possible, what positive integer not greater than 100 must you provide to it as input initially?

Worked it out?

This paper's answer key isn't in yet, so mark it yourself.

Log in to save your progress.
Log in to report a mistake