2024 AMC 10A Problem 20

Attempt Problem 20 of the 2024 AMC 10A below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2024 AMC 10A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

20.

Let SS be a subset of {1,2,3,…,2024}\{1, 2, 3, \ldots, 2024\} such that the following two conditions hold:
• If xx and yy are distinct elements of S,S, then ∣x−y∣>2.|x - y| \gt 2.
• If xx and yy are distinct odd elements of S,S, then ∣x−y∣>6.|x - y| \gt 6.
What is the maximum possible number of elements in S?S?
436436
506506
608608
654654
675675
Answer: C
Concepts:arrangements with restrictionsextremal argumentoptimization
Small hint:
Any two chosen numbers differ by at least 3,3, and any two chosen odd numbers differ by at least 77
Big hint:
A repeating block of 1010 can hold at most 33 chosen numbers with only one odd; try residues 1,4,81, 4, 8
Solution:
The two conditions say chosen numbers are at least 33 apart, and chosen odd numbers at least 77 apart. Any four numbers in a block of 1010 would need three gaps of at least 3,3, so they would have to occupy positions r,r+3,r+6,r+9.r,r+3,r+6,r+9. Two of the odd entries would then differ by 6,6, which is forbidden. Thus each full block of 1010 contains at most 33 choices, and the last four positions contain at most 2.2. This gives the upper bound 202⋅3+2=608.202\cdot3+2=608. It is attained by the pattern 1,4,8,11,14,18,…1,4,8,11,14,18,\ldots (residues 1,4,8(mod10)1,4,8\pmod{10}), together with 2021,2024.2021,2024. Adjacent selected values differ by at least 3,3, and the selected odd values are 1010 apart. Therefore, the answer is C.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.