Problem 577: (1991 AIME, 5)
Given a rational number, write it as a fraction in lowest terms and calculate the product of the resulting numerator and denominator. For how many rational numbers between 0 and 1 will $20!$ be the resulting product?
- $20!$ has the $8$ prime factors $2,3,5,7,11,13,17,19$. In lowest terms $\frac ab$ with $ab=20!$, each prime power of $20!$ goes entirely to $a$ or entirely to $b$.
- So there are $2^8$ ordered pairs $(a,b)$, and $a\ne b$ in each. Exactly half have $a<b$.
- There are $2^7=128$ such rationals. The answer is $\boxed{128}$.
Given a rational number, write it as a fraction in lowest terms and calculate the product of the resulting numerator and denominator. For how many rational numbers between 0 and 1 will $30!$ be the resulting product?