2024 AMC 10A Problem 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 SS, then ∣x−y∣>2|x-y|>2.

• If xx and yy are distinct odd elements of SS, then ∣x−y∣>6|x-y|>6.

What is the maximum possible number of elements in SS?
(A)  436\text{(A)}\;436(B)  506\text{(B)}\;506(C)  608\text{(C)}\;608(D)  654\text{(D)}\;654(E)  675\text{(E)}\;675