Skip to main content

1991 AIME Problem 5

Problem 5 of 15EasierNumber TheoryCombinatorics

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 00 and 11 will 20!20! be the resulting product?

Your answer

Integer from 0 to 999
Show solution

Solution

The distinct primes dividing 20!20! are 2,2, 3,3, 5,5, 7,7, 11,11, 13,13, 17,17, and 19.19. If ab\frac{a}{b} is in lowest terms and ab=20!,ab=20!, the entire power of each of these eight primes must be assigned to either aa or b.b. Thus there are 282^8 ordered coprime factorizations ab=20!.ab=20!. Since a≠b,a\neq b, exactly half have 0<ab<1.0<\frac{a}{b}<1. The number sought is 27=128.2^7=128.
AoPS wiki

Tagged: prime factorization · greatest common divisor · subsets

More practice