Problem 634: (1992 AIME, 1)
Find the sum of all positive rational numbers that are less than 10 and that have denominator 30 when written in lowest terms.
- The numbers are $\frac n{30}$ with $1\le n<300$ and $\gcd(n,30)=1$. Each block of $30$ consecutive integers has $\varphi(30)=8$ such $n$, so there are $80$.
- They pair up as $n$ and $300-n$ (also coprime to $30$), each pair summing to $\frac{300}{30}=10$.
- The sum is $40\cdot10=400$. The answer is $\boxed{400}$.
Find the sum of all positive rational numbers that are less than 12 and that have denominator 20 when written in lowest terms.