Question
Question: The remainder obtained when \[1! + 2! + ...... + 50!\] is divided by \[30\] is (A) \[3\] (B) \[1...
The remainder obtained when 1!+2!+......+50! is divided by 30 is
(A) 3
(B) 13
(C) 11
(D) 9
Solution
In order to solve this question, we must know about the concept of factorial i.e., n!=n⋅(n−1)⋅(n−2)⋅.....⋅3⋅2⋅1 .Here, in this question, we have to find the remainder of the given factorial sum when divided by 30 .For this, we know that the value of factorial after 5! will leave the remainder zero when it is divided by 30 .So for calculating the remainder, we will calculate the remainder before that number.
Complete step by step answer:
So, first of all we will calculate the factorial till 5! .
So, 1!=1
2!=2×1=2
3!=3×2×1=6
4!=4×3×2×1=24
and if we see 5!=5×4×3×2×1=120 which is divisible by 30
Now after 5! we can write each factorial term as 5! × y where y is a positive number.
i.e., 6!=6×5×4×3×2×1=6×5!
7!=7×6×5×4×3×2×1=7×6×5! and so on.
It means the value of factorial after 5! will leave the remainder zero when it is divided by 30
So, we will calculate the value remainder before 5!
For this, add all the factorial values from 1 to 4
⇒1!+2!+3!+4!
Now on dividing by 30 we get
301!+2!+3!+4! −−−(1)
On substituting the values, we will get the equation (1) as
301+2+6+24 −−−(2)
Now adding the numerator of the equation (2) we get,
3033
And now on dividing it by 30 we get the remainder as 3
[∵33=30×1+3]
Therefore, the remainder for the factorial 1!+2!+......+50! when divided by 30 is 3
Hence, the correct answer is option (A).
Note:
To solve this question, we don’t need to add all the factorial terms and divide it by 30 to obtain the answer. Because if we see 30 can be factored as a product of 2,3 and 5 . And, the least value of factorial which contains 2,3 and 5 is 5! .So 5! and any factorial greater than 5 always contains 2,3 and 5 and hence the remainder is going to be zero for any x! where x is either 5 or greater than 5 . So, we just calculate the remainder before 5! and get the required result.