1989 AIME Problem 13

Attempt Problem 13 of the 1989 AIME 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 1989 AIME solutions, or check the answer key.

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

13.

Let SS be a subset of {1,2,3,,1989}\{1,2,3,\ldots,1989\} such that no two members of SS differ by 44 or 7.7. What is the largest number of elements SS can have?

Answer: 905
Concepts:extremal argumentgraph theorysubsets
Difficulty rating: 2930
Small Hint:

Within any eleven consecutive integers, the forbidden-difference graph is an 1111-cycle

Big Hint:

For a matching construction, look for five allowable residue classes modulo 1111

Solution:

On any eleven consecutive integers, join two numbers when their difference is 44 or 7.7. Because 7=114,7=11-4, this graph is an 1111-cycle, whose largest independent set has size 5.5. Similarly, any ten consecutive integers induce a path on ten vertices and contribute at most 5.5. Since 1989=17911+210,1989=179\cdot11+2\cdot10, this gives S179(5)+2(5)=905.|S|\leq179(5)+2(5)=905.

This bound is attained by taking every integer whose residue modulo 1111 is 1,1, 3,3, 4,4, 6,6, or 9.9. No two selected residues differ by 44 or 77 modulo 11,11, and each of these five residues occurs 181181 times from 11 through 1989.1989. Thus the maximum is 5(181)=905.5(181)=905.

← Problem 12#12
Full Exam

Problem 13 in Other Years