Rationals from 25!

Find the number of rational numbers 0 p q 1 0 \leq \dfrac{p}{q} \leq 1 are there such that gcd ( p , q ) = 1 \gcd(p,q) = 1 and p q = 25 ! pq = 25! .

Notation : ! ! denotes the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


Inspired by Aman Rajput .


The answer is 256.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

  • Observation 1: 25 ! = 2 22 3 10 5 6 7 3 1 1 2 13 17 19 23 25! = 2^{22} \cdot 3^{10} \cdot 5^6 \cdot 7^3 \cdot 11^2 \cdot 13 \cdot 17 \cdot 19 \cdot 23
  • Observation 2: m m and n n are comprised of and only of these factors. Also, if a prime factor divides m m , it cannot divide n n . Hence, the factors must occur in clusters, in which all primes are together.

The problem thus reduces to partitioning the 9 clusters 2 22 , 3 10 , 5 6 , 7 3 , 1 1 2 , 13 , 17 , 19 , 23 2^{22}, 3^{10} , 5^6 , 7^3 , 11^2 , 13 , 17 , 19 , 23 into m m and n n .

For any cluster, there are two choices, it could either be in m m or in n n . So, there are 2 9 2^9 ways to split them.

How do we eliminate the cases where m > n m > n ? Well, for any pair ( m , n ) (m, n) , if m > n m > n , switching them obtains a pair ( n , m ) (n, m) , where n < m n < m . Hence there are half as many ways to split the numbers in the way we desire.

That'd be 2 9 2 = 2 8 \frac{2^9}{2} = \boxed{2^8} ways.

+1
btw, finding powers of the prime factors is unnecessary. It's sufficient to know that number of prime factors is 9.

Rushikesh Jogdand - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...