Placement AptitudeVery hardTCS Digital · Infosys SP · Accenture
What is the remainder when 1! + 2! + 3! + … + 99! is divided by 13?
- A. 3
- B. 11
- C. 7
- 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).
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- With how many zeros does 100! end when it is written in base 12?
- 1 January 2000 was a Saturday. On which day of the week does 1 January 2100 fall?
- A function f satisfies f(x) + 2f(1/x) = 3x for all x ≠ 0. What is f(2)?
- A 4 × 4 × 4 cube has its top face and one adjacent side face (the front) painted red; the other four faces stay unpainted. It is cut into…
- A trader marks his goods 40% above cost, allows a 15% discount, and uses a 960 g weight in place of 1 kg. What is his profit percentage…
- A can finish a job alone in 14 days, B in 21 days and C in 6 days. They work on alternate days in the order A, B, C, A, B, C, … How long…