MathDB
O 54

Source:

May 25, 2007
AMCAIME

Problem Statement

Let SS be a subset of {1,2,3,,1989}\{1, 2, 3, \cdots, 1989 \} in which no two members differ by exactly 44 or by exactly 77. What is the largest number of elements SS can have?