Placement AptitudeVery hardTCS Digital · Infosys SP · Accenture

What is the remainder when 1! + 2! + 3! + … + 99! is divided by 13?

  1. A. 3
  2. B. 11
  3. C. 7
  4. D. 9

Correct answer: D. 9

For n ≥ 13, n! contains the factor 13, so only 1! to 12! matter. Working modulo 13 and adding the residues of 1!, 2!, …, 12! gives a total of 9 (mod 13).

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic