2024 AMC 10A Problem 20
Problem 20 of 25HarderAlgebraCounting & Probability
Let be a subset of such that the following two conditions hold:
• If and are distinct elements of then
• If and are distinct odd elements of then
What is the maximum possible number of elements in
Answer choices
Show solution
Solution
The two conditions say chosen numbers are at least apart, and chosen odd numbers at least apart. Any four numbers in a block of would need three gaps of at least so they would have to occupy positions Two of the odd entries would then differ by which is forbidden. Thus each full block of contains at most choices, and the last four positions contain at most This gives the upper bound It is attained by the pattern (residues ), together with Adjacent selected values differ by at least and the selected odd values are apart. Therefore, the answer is C.