Skip to main content

1998 AIME Problem 2

Problem 2 of 15EasierAlgebraCombinatoricsProblem-Solving Techniques

Find the number of ordered pairs (x,y)(x, y) of positive integers that satisfy x≤2y≤60x \le 2y \le 60 and y≤2x≤60.y \le 2x \le 60.

Your answer

Integer from 0 to 999
Show solution

Solution

The chains unpack into four conditions: x≤2y,x \le 2y, 2y≤60,2y \le 60, y≤2x,y \le 2x, and 2x≤60.2x \le 60. So (x,y)(x, y) lies in the square 1≤x,y≤30,1 \le x, y \le 30, and within it we must avoid x>2yx \gt 2y and y>2x,y \gt 2x, which cannot both happen. Pairs with y>2x:y \gt 2x: for each xx from 11 to 1414 the values y=2x+1,…,30y = 2x + 1, \ldots, 30 work, giving ∑x=114(30−2x)\sum_{x=1}^{14} (30 - 2x) =420−210= 420 - 210 =210= 210 pairs. By the symmetry swapping xx and y,y, there are also 210210 pairs with x>2y.x \gt 2y. The answer is 30⋅30−210−210=480.30 \cdot 30 - 210 - 210 = 480.
AoPS wiki

Tagged: counting pairs · inequality · complementary counting · symmetry

More practice