1998 AIME Problems/Problem 2
Problem
Find the number of ordered pairs of positive integers that satisfy
and
.
Solution
Solution 1
Pick's theorem states that:
![$A = I + \frac B2 - 1$](http://latex.artofproblemsolving.com/7/c/b/7cba92d5eeba4957d9f6127c3a7243cf3cbe15ae.png)
The conditions give us four inequalities: ,
,
,
. These create a quadrilateral, whose area is
of the 30 by 30 square it is in. A simple way to see this is to note that the two triangles outside of the quadrilateral form half of the area of the 30 by 30 square.
So .
we can calculate by just counting. Ignoring the vertices, the top and right sides have 14 lattice points, and the two diagonals each have 14 lattice points (for the top diagonal, every value of
corresponds with an integer value of
as
and vice versa for the bottom, so and there are 14 values for x not counting vertices). Adding the four vertices, there are 60 points on the borders.
![$450 = I + \frac {60}2 - 1 \displaystyle$](http://latex.artofproblemsolving.com/4/7/d/47df30c3e3f1c945cc6c08f6f7d66ef8abacd050.png)
![$\displaystyle I = 421$](http://latex.artofproblemsolving.com/d/4/a/d4ae9ebf2701e0874a7802d038734240468645fa.png)
Since the inequalities also include the equals case, we include the boundaries, which gives us ordered pairs. However, the question asks us for positive integers, so
doesn't count; hence, the answer is
.
Solution 2
First, note that all pairs of the form ,
work.
Now, considered the ordered pairs with , so that
is automatically satisfied. Since
, there are
possible values of
. Hence, given
, there are
values of possible
for which
and the above conditions are satisfied. But
, so this only works for
. Thus, there are
ordered pairs. For ,
must follow
. Hence, there are
possibilities for
, and there are
ordered pairs.
By symmetry, there are also ordered pairs with
and the above criteria satisfied.
Hence, the total is
See also
1998 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 1 |
Followed by Problem 3 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |