QlarIITy

MathematicsJEE Main 2026 · 21 JanuarySingle correct

The largest n∈Nn \in \mathbb{N}, for which 7n7^n divides 101!101!, is :

  1. Option A: 1818
  2. Option B: 1515
  3. Option C: 1919
  4. Option D: 1616
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. Each power pkp^k up to nn adds one more layer of factors of pp.

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

∑k≥1[npk]=[np]+[np2]+⋯\sum_{k \geq 1} \left[\frac{n}{p^k}\right] = \left[\frac{n}{p}\right] + \left[\frac{n}{p^2}\right] + \cdots

where [⋅][\cdot] is the greatest integer function; the sum stops once pk>np^k > n.

Approach. Apply Legendre's formula with p=7p = 7 and n=101n = 101; the largest nn is that exponent.

  1. Step 1: Multiples of 7

    Each multiple of 77 from 77 to 9898 contributes one factor 77:

    [1017]=14\left[\frac{101}{7}\right] = 14
  2. Step 2: Multiples of 49

    The multiples of 4949, namely 4949 and 9898, contribute a second factor each, and 343>101343 > 101 ends the sum:

    [10149]=2\left[\frac{101}{49}\right] = 2
  3. Step 3: Total exponent

    Adding the two counts gives the exponent of 77 in 101!101!:

    14+2=1614 + 2 = 16

    so 7167^{16} divides 101!101! but 7177^{17} does not, and the largest nn is 1616.

Answer. (D) 1616

Sanity check. Listing: 7,14,…,987, 14, \ldots, 98 are 1414 numbers, and among them only 49=7249 = 7^2 and 98=2⋅7298 = 2 \cdot 7^2 have 77 twice, giving 14+2=1614 + 2 = 16.

Why the other options are wrong

  • (A) The value 1818 would need four multiples of 4949 up to 101101; there are only two, 4949 and 9898, so the exponent is 14+2=1614 + 2 = 16.
  • (B) 7157^{15} does divide 101!101!, but it is not the largest such power: 7167^{16} divides it too, since the exponent of 77 is 14+2=1614 + 2 = 16.
  • (C) The value 1919 would need five extra factors beyond the 1414 multiples of 77; only 4949 and 9898 add one each, so the exponent is 1616.

Key takeaway

The trap. Stopping at [1017]=14\left[\frac{101}{7}\right] = 14 and forgetting 4949 and 9898.

How toppers think. They write the sum [np]+[np2]\left[\frac{n}{p}\right] + \left[\frac{n}{p^2}\right] and stop once pk>np^k > n.

Remember. The exponent of a prime pp in n!n! is ∑k≥1[npk]\sum_{k \geq 1} \left[\frac{n}{p^k}\right].

More on Fundamental Principle of Counting