How many pairs of integers are there with satisfying the following condition?
For any positive integer , there exists a nonnegative integer and an integer such that both and are integers.
, 2022
Solution
If a positive integer divides both and , also divides . Thus when holds, satisfies for any positive integer and does not satisfy the condition.
On the other hand, when holds, for a positive integer since is even. Then we have . Let and , then holds and
are both integers. Hence satisfies the condition.
From the above, it follows that pairs satisfying the condition are the pairs which can be written as with a positive integer and . shows , and then both and are integers between 1 and 2022. Hence the answer is 44.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.