Problem 333: (1998 AIME, 2)
Find the number of ordered pairs $(x,y)$ of positive integers that satisfy $x \le 2y \le 60$ and $y \le 2x \le 60$.
- The conditions say $y\le30$, $x\le30$, and $\frac y2\le x\le2y$. So for each $y$, $x$ runs from $\lceil\frac y2\rceil$ to $\min(2y,30)$.
- $y=1,\dots,15$ give $\sum(2y+1-\lceil y/2\rceil)=255-64=191$. $y=16,\dots,30$ give $\sum(31-\lceil y/2\rceil)=465-176=289$.
- Total $480$. The answer is $\boxed{480}$.
Find the number of ordered pairs $(x,y)$ of positive integers that satisfy $x \le 2y \le 80$ and $y \le 2x \le 80$.