Placement AptitudeVery hardGoldman Sachs aptitude · CAT

What is the last non-zero digit of 25! (25 factorial)?

  1. A. 4
  2. B. 6
  3. C. 2
  4. D. 8

Correct answer: A. 4

25! has 22 factors of 2 and 6 of 5. Removing 10⁶ leaves 2¹⁶ times the product of all the parts free of 2 and 5. That product is ≡ 9 (mod 10) and 2¹⁶ ≡ 6, so the last non-zero digit is 9 × 6 = 54 → 4.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic