Browse · MATH
Printjmc
number theory intermediate
Problem
Find the smallest positive integer such that, for every positive integer , is relatively prime to each of , , and .
Solution
Obviously, we have that , because otherwise two of the integers would be identical and not be relatively prime. Start by testing . and are relatively prime because they are consecutive integers, but and are both even and are therefore not relatively prime. The next candidate to test is . Firstly, we have that Since is always odd, the two integers and are relatively prime. Secondly, Note that is always divisible by 3, so is never divisible by 3. As a result, we have that and are relatively prime. Finally, Note that is always odd, so and are also relatively prime. Therefore, the smallest positive integer that permits to be relatively prime with each of , , and is .
Final answer
5