Placement AptitudeModerateTCS NQT · Accenture pattern

What is the largest power of 6 that divides 40! (40 factorial)?

  1. A. 6⁶
  2. B. 6¹⁸
  3. C. 6³⁸
  4. D. 6¹³

Correct answer: B. 6¹⁸

Powers of 2 in 40! = 20 + 10 + 5 + 2 + 1 = 38; powers of 3 = 13 + 4 + 1 = 18. Each 6 needs one 2 and one 3, so the 3s run out first: 6¹⁸. 6⁶ is just ⌊40/6⌋, which ignores that 2s and 3s come from different numbers; 6¹³ stops at ⌊40/3⌋.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic