NDA · Question 41
Consider the sum S = 0! + 1! + 2! + 3! + 4! + … + 100!. If the sum S is divided by 8, what is the remainder?
Show answer & explanationShow explanation
Answer: (C) 2
We have S = 0! + 1! + 2! + 3! + 4! + … + 100! = 1 + 1 + 2 + 6 + 24 + … + 100!. For every n ≥ 4, n! is divisible by 4! = 24, which is divisible by 8. Hence S = (1 + 1 + 2 + 6) + 8k = 10 + 8k for some integer k. Dividing 10 by 8 leaves a remainder of 2.