第 248 题:(2009 AIME I, 11)
Consider the set of all triangles $OPQ$ where $O$ is the origin and $P$ and $Q$ are distinct points in the plane with nonnegative integer coordinates $(x,y)$ such that $41x + y = 2009$. Find the number of such distinct triangles whose area is a positive integer.
- The points are $(x,2009-41x)$, $x=0,\dots,49$. For two of them, $x_1y_2-x_2y_1=2009(x_1-x_2)$, so the area is $\frac{2009}2|x_1-x_2|$.
- It is a positive integer iff $x_1\ne x_2$ have the same parity: $\binom{25}2+\binom{25}2$.
- $600$. The answer is $\boxed{600}$.
Consider the set of all triangles $OPQ$ where $O$ is the origin and $P$ and $Q$ are distinct points in the plane with nonnegative integer coordinates $(x,y)$ such that $43x + y = 2021$. Find the number of such distinct triangles whose area is a positive integer.