Skip to main content
Back to Binomial Theorem
JEE Main 2018
Binomial Theorem
Binomial Theorem
Medium

Question

The largest nN\mathrm{n} \in \mathbf{N} such that 3n3^{\mathrm{n}} divides 50 ! is :

Options

Solution

Understanding the Problem: Finding the Highest Power of a Prime in a Factorial

The problem asks for the largest integer nn such that 3n3^n divides 50!50!. This is equivalent to finding the exponent of the prime number 3 in the prime factorization of 50!. In number theory, this is often denoted as E3(50!)E_3(50!).

Key Concept: Legendre's Formula

To find the exponent of a prime number pp in the prime factorization of n!n! (denoted as Ep(n!)E_p(n!)), we use Legendre's Formula: Ep(n!)=k=1npkE_p(n!) = \sum_{k=1}^{\infty} \left\lfloor \frac{n}{p^k} \right\rfloor This formula can be expanded as: Ep(n!)=np+np2+np3+E_p(n!) = \left\lfloor \frac{n}{p} \right\rfloor + \left\lfloor \frac{n}{p^2} \right\rfloor + \left\lfloor \frac{n}{p^3} \right\rfloor + \dots The sum continues as long as npk1\frac{n}{p^k} \ge 1. Once pk>np^k > n, the term npk\left\lfloor \frac{n}{p^k} \right\rfloor becomes 0, and all subsequent terms will also be 0.

Why Legendre's Formula Works

Let's understand the intuition behind this formula:

  1. np\left\lfloor \frac{n}{p} \right\rfloor: This term counts how many multiples of pp are there up to nn. Each of these numbers contributes at least one factor of pp to n!n!.
  2. np2\left\lfloor \frac{n}{p^2} \right\rfloor: This term counts how many multiples of p2p^2 are there up to nn. Each of these numbers contributes an additional factor of pp (beyond the one already counted in n/p\lfloor n/p \rfloor). For example, a number like 2p22p^2 contributes two factors of pp. It was counted once in n/p\lfloor n/p \rfloor and is counted again in n/p2\lfloor n/p^2 \rfloor, correctly accounting for two factors.
  3. npk\left\lfloor \frac{n}{p^k} \right\rfloor: This term counts multiples of pkp^k. These numbers contribute an additional factor of pp for their kk-th power. By summing these terms, we correctly account for all factors of pp contributed by each number from 11 to nn. A number that is divisible by pkp^k but not pk+1p^{k+1} will be counted exactly kk times in the sum (once for pp, once for p2p^2, ..., once for pkp^k), which is precisely the number of factors of pp it contributes.

Step-by-Step Calculation

In our problem, n=50n=50 and the prime p=3p=3. We need to calculate E3(50!)E_3(50!).

  1. First term: Multiples of 31=33^1 = 3 We find the number of multiples of 3 up to 50: 503=16.66=16\left\lfloor \frac{50}{3} \right\rfloor = \lfloor 16.66\dots \rfloor = 16 This means numbers like 3, 6, 9, ..., 48 contribute at least one factor of 3.

  2. Second term: Multiples of 32=93^2 = 9 We find the number of multiples of 9 up to 50: 509=5.55=5\left\lfloor \frac{50}{9} \right\rfloor = \lfloor 5.55\dots \rfloor = 5 These numbers (9, 18, 27, 36, 45) contribute an additional factor of 3. For instance, 9 contributes two factors of 3 in total (one counted from the 50/3\lfloor 50/3 \rfloor term, and one from this term).

  3. Third term: Multiples of 33=273^3 = 27 We find the number of multiples of 27 up to 50: 5027=1.85=1\left\lfloor \frac{50}{27} \right\rfloor = \lfloor 1.85\dots \rfloor = 1 The number 27 contributes an additional factor of 3. It has three factors of 3 (33=273^3=27). It was counted in 50/3\lfloor 50/3 \rfloor, then in 50/9\lfloor 50/9 \rfloor, and now in 50/27\lfloor 50/27 \rfloor, correctly summing to three factors.

  4. Fourth term: Multiples of 34=813^4 = 81 We find the number of multiples of 81 up to 50: 5081=0.61=0\left\lfloor \frac{50}{81} \right\rfloor = \lfloor 0.61\dots \rfloor = 0 Since 34=81>503^4 = 81 > 50, there are no multiples of 81 less than or equal to 50. All subsequent terms for higher powers of 3 will also be 0.

Summing the contributions:

Now, we sum all the calculated terms to find E3(50!)E_3(50!): E3(50!)=16+5+1+0=22E_3(50!) = 16 + 5 + 1 + 0 = 22 Therefore, the largest nn such that 3n3^n divides 50!50! is 22.

Relevant Tips and Common Mistakes

  • Prime Base Only: Legendre's Formula directly applies only when the base is a prime number. If you need to find the exponent of a composite number (e.g., 6n6^n divides 50!50!), first factorize the composite number into its prime factors (6=2×36 = 2 \times 3). Then, find the exponent for each prime factor separately (E2(50!)E_2(50!) and E3(50!)E_3(50!)). The final answer will be the minimum of these exponents, because you can only form as many 66's as you have pairs of 22s and 33s.
  • Floor Function Accuracy: Ensure correct calculation of the floor function x\lfloor x \rfloor, which gives the greatest integer less than or equal to xx.
  • Don't Stop Early: Make sure to continue calculating terms until npk\left\lfloor \frac{n}{p^k} \right\rfloor becomes 0. Missing higher power terms is a common error.
  • Understanding vs. Memorizing: While memorizing the formula is useful, understanding why it works helps in avoiding mistakes and applying it to variations of the problem.

Conclusion

By applying Legendre's Formula, we systematically counted all factors of 3 within the product 50!50!. The total count is 22. This means 3223^{22} is the highest power of 3 that can divide 50!50!.

The final answer is 22\boxed{\text{22}}.

Practice More Binomial Theorem Questions

View All Questions