Let denote the set of positive integers, and let be a set. There exists a function such that if and are a pair of positive integers with their difference being a prime number, then . Determine the minimum number of elements in .
Solution
Let be such a function. Because the difference of any two numbers in is a prime number, the cardinality of is . Hence, the minimum number of elements in is greater than or equal to .
Now, consider the function that associates to each its remainder when divided by . This function satisfies the condition of the problem since when , for , then is not a prime number since it is a multiple of . Therefore, the minimum number of elements in is .
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.