Skip to main content

2009 AIME I Problem 11

Problem 11 of 15HarderGeometryNumber Theory

Consider the set of all triangles OPQOPQ where OO is the origin and PP and QQ are distinct points in the plane with nonnegative integer coordinates (x,y)(x, y) such that 41x+y=2009.41x + y = 2009. Find the number of such distinct triangles whose area is a positive integer.

Your answer

Integer from 0 to 999
Show solution

Solution

The points on the line with nonnegative integer coordinates are Pi=(i, 2009−41i)P_i = (i,\, 2009 - 41i) for i=0,i = 0, 1,1, …,\ldots, 4949 — fifty points in all. For P=PiP = P_i and Q=Pj,Q = P_j, the shoelace formula gives [OPQ]=12∣ i(2009−41j)−j(2009−41i) ∣=20092 ∣i−j∣. \begin{aligned} [OPQ] &= \small \frac{1}{2}\left|\,i(2009 - 41j) - j(2009 - 41i)\,\right| \\ &= \frac{2009}{2}\,|i - j|. \end{aligned} This is automatically positive for distinct points, and since 20092009 is odd, it is an integer exactly when i−ji - j is even, that is, when ii and jj have the same parity. There are 2525 even and 2525 odd indices, so the number of triangles is (252)+(252)=300+300=600.\binom{25}{2} + \binom{25}{2} = 300 + 300 = 600.
AoPS wiki

Tagged: lattice point · shoelace formula · parity

More practice