UPSC CSAT 2022 Q74: Highest Power of 3 in 15 Factorial — Solved

If 15 × 14 × 13 × ··· × 3 × 2 × 1 = 3ᵐ × n where m and n are positive integers, then what is the maximum value of m?

  1. 7
  2. 6
  3. 5
  4. 4

Answer: (b) 6

Solution

  1. The product 15 × 14 × 13 × ··· × 2 × 1 is 15! (15 factorial). We need the largest m such that 3ᵐ divides 15!, with n = 15! ÷ 3ᵐ still a positive integer.
  2. Why "maximum" matters: m = 1, 2, 3 … also work, because the leftover 3s simply stay inside n. The largest possible m is reached when every factor of 3 in 15! is moved into 3ᵐ. So m = the total number of 3s in the prime factorisation of 15!.
  3. Only multiples of 3 contribute a 3. Between 1 and 15 they are 3, 6, 9, 12, 15.
  4. Factorise each one: - 3 = 3¹ → one 3 - 6 = 2 × 3 → one 3 - 9 = 3 × 3 = 3² → two 3s - 12 = 2² × 3 → one 3 - 15 = 3 × 5 → one 3

  5. Add them: 1 + 1 + 2 + 1 + 1 = 6.

  6. Check with the formula (Legendre's method). Divide 15 by successive powers of 3 and keep only the whole-number parts: - 15 ÷ 3 = 5 → 5 multiples of 3 - 15 ÷ 9 = 1.66… → 1 multiple of 9 (it gives the extra 3) - 15 ÷ 27 = 0.55… → 0, so stop - Total = 5 + 1 = 6.

  7. So 15! = 3⁶ × n, where n = 15! ÷ 729 = 1,793,792,000. This n is a positive integer and not divisible by 3. No larger m is possible.

Answer: the maximum value of m is 6.

Option-wise explanation

  • a: incorrect — For 7 you would need one more factor of 3. That needs another multiple of 9 (such as 18) or a 27, and neither is ≤ 15. The trap is counting 9 as three 3s (1 for being a multiple of 3, plus 2 for 3²), which counts the same 3 twice.
  • b: correct — There are five multiples of 3 up to 15, each giving one 3, and 9 = 3² gives one extra. 5 + 1 = 6, so 15! = 3⁶ × n with n not divisible by 3.
  • c: incorrect — 5 counts only the multiples of 3 (3, 6, 9, 12, 15). It misses the second 3 inside 9 = 3². This is the most common slip on this type of question.
  • d: incorrect — 4 comes from counting only 3, 6, 9 and 12, which drops 15 = 3 × 5 and also ignores the extra 3 in 9. It undercounts twice.

How to eliminate

Do not multiply anything out. Count the 3s: 15 ÷ 3 = 5, then 15 ÷ 9 = 1 (whole part), so 5 + 1 = 6. Options 4 and 5 are the undercounting traps: 5 forgets that 9 holds two 3s, and 4 also drops 15. Option 7 would need a 27 or a second multiple of 9, and neither is ≤ 15. About 15–30 seconds once you recognise it as "power of a prime in a factorial". Attempt it first. It is a near-certain mark.

Know more

Highest power of a prime p in n! (Legendre's formula)

Power of p in n! = [n/p] + [n/p²] + [n/p³] + …, where [x] means the whole-number part of x. Stop when pᵏ > n.

Why it works: [n/p] counts every multiple of p once. [n/p²] adds one more for each multiple of p², [n/p³] one more for each multiple of p³, and so on. Every factor of p is counted exactly once.

Worked variant: the highest power of 2 in 20!

Divisor 20 ÷ divisor Whole part
2 10 10
4 5 5
8 2.5 2
16 1.25 1
32 0.6… 0 (stop)

Total = 10 + 5 + 2 + 1 = 18, so 20! = 2¹⁸ × (odd number).

Shortcut: repeated division. 20 → 10 → 5 → 2 → 1. Add the quotients: 10 + 5 + 2 + 1 = 18.

Related forms of the same question:

  • Number of trailing zeros of n! = power of 5 in n!. For 50!: [50/5] + [50/25] = 10 + 2 = 12 zeros.
  • Composite base (for example 6ᵐ or 12ᵐ in n!): factorise the base, find the power of each prime, divide by its exponent in the base, and take the smallest result. For 12 = 2² × 3, the power of 12 in 10! is the smaller of [8 ÷ 2] = 4 and 4, which is 4.