n-> n/2 if n is even, n -> n62+3 if n is odd
Source: Netherlands - Dutch NMO 2023 p3
March 25, 2024
number theorycombinatorics
Problem Statement
Felix chooses a positive integer as the starting number and writes it on the board. He then repeats the next step: he replaces the number on the board by if is even and by if is odd. For how many choices of starting numbers below will Felix never write a number of more than four digits on the board?