QlarIITy

MathematicsJEE Main 2026 · 24 JanuarySingle correct

The largest value of nn, for which 40n40^n divides 60!60!, is

  1. Option A: 1414
  2. Option B: 1313
  3. Option C: 1111
  4. Option D: 1212
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. For a composite base, factorise it and let the scarcest prime power decide.

Concept refresher. For a prime pp, the exponent of pp in n!n! is given by Legendre's formula

ep(n!)=[np]+[np2]+[np3]+…e_p(n!) = \left[\frac{n}{p}\right] + \left[\frac{n}{p^2}\right] + \left[\frac{n}{p^3}\right] + \ldots

where [⋅][\cdot] is the greatest integer function; the sum stops once pk>np^k > n. A number ∏pap\prod p^{a_p} divides n!n! exactly when ap≤ep(n!)a_p \leq e_p(n!) for every prime pp.

Approach. Factorise 4040, find the exponents of 22 and 55 in 60!60! with Legendre's formula, and take the largest nn that respects both.

  1. Step 1: Factorise the base

    Since 40=23⋅540 = 2^3 \cdot 5, we need

    40n=23n⋅5n40^n = 2^{3n} \cdot 5^n

    to divide 60!60!, so both 3n≤e23n \leq e_2 and n≤e5n \leq e_5 must hold.

  2. Step 2: Exponent of 2

    Adding the multiples of 2,4,8,16,322, 4, 8, 16, 32 up to 6060:

    e2=30+15+7+3+1=56e_2 = 30 + 15 + 7 + 3 + 1 = 56

    so 3n≤563n \leq 56 gives n≤18n \leq 18.

  3. Step 3: Exponent of 5

    Adding the multiples of 55 and 2525 up to 6060:

    e5=[605]+[6025]=12+2=14e_5 = \left[\frac{60}{5}\right] + \left[\frac{60}{25}\right] = 12 + 2 = 14

    so n≤14n \leq 14.

  4. Step 4: Combine

    Both conditions hold exactly when n≤14n \leq 14, so the largest value is

    n=min⁡(18,14)=14n = \min(18, 14) = 14

Answer. (A) 1414

Sanity check. The multiples of 55 up to 6060 are twelve numbers, and only 2525 and 5050 contain 525^2, so 5145^{14} is the full power of 55; 2422^{42} needed for n=14n = 14 is well within 2562^{56}.

Why the other options are wrong

  • (B) Taking [6025]\left[\frac{60}{25}\right] as 11 gives 12+1=1312 + 1 = 13; but 2525 and 5050 are both multiples of 2525, so the exponent of 55 is 12+2=1412 + 2 = 14.
  • (C) Counting only the multiples of 55 below 6060 gives 1111, but 6060 itself is a factor of 60!60!, and the multiples of 2525 add two more, so the exponent is 1414.
  • (D) [605]=12\left[\frac{60}{5}\right] = 12 counts each multiple of 55 once; 2525 and 5050 carry a second factor of 55, which adds [6025]=2\left[\frac{60}{25}\right] = 2.

Key takeaway

The trap. Stopping at [605]=12\left[\frac{60}{5}\right] = 12 and missing the extra factors from 2525 and 5050.

How toppers think. They check the larger prime first, since it is usually the scarce one.

Remember. ep(n!)=∑k≥1[npk]e_p(n!) = \sum_{k \geq 1} \left[\frac{n}{p^k}\right].

More on Fundamental Principle of Counting