Malcolm writes a positive integer on a piece of paper. Malcolm doubles this integer and subtracts 1, writing this second result on the same piece of paper. Malcolm then doubles the second integer and adds 1, writing this third integer on the paper. If all of the numbers Malcolm writes down are prime, determine all possible values for the first integer.
CMOQR 2017
Canadian Mathematical Olympiad Qualifying Repêchage 2017.
Other problems
For any positive integer n, let be the number of integers in the set whose greatest common divisor with is 1. Determine the maximum value of for in the set and all values of for which this maximum is attained.
Determine all functions that satisfy the following equation for all .
In this question we re-define the operations addition and multiplication as follows: is defined as the minimum of and , while is defined to be the sum of and . For example, , , and Let be real numbers. Characterize, in terms of , what the graph of looks like.