1989 AIME Problem 13
Problem 13 of 15HarderCombinatoricsProblem-Solving Techniques
Let be a subset of such that no two members of differ by or What is the largest number of elements can have?
Your answer
Integer from 0 to 999
Show solution
Solution
On any eleven consecutive integers, join two numbers when their difference is or Because this graph is an -cycle, whose largest independent set has size Similarly, any ten consecutive integers induce a path on ten vertices and contribute at most Since this gives
This bound is attained by taking every integer whose residue modulo is or No two selected residues differ by or modulo and each of these five residues occurs times from through Thus the maximum is
Tagged: extremal argument · graph theory · subsets