In an examination, 5 students have been allotted their seats as per their roll numbers. The number of ways, in which none of the students sits on the allotted seat, is \_\_\_\_\_\_\_\_\_.
Answer: 44
Solutions · 1
Official solution
This problem can be solved using the concept of derangements, which is a permutation of objects where no object appears in its original position. In this case, we have 5 students who should not sit in their allotted seats.
The formula for calculating the number of derangements (also known as subfactorials) is :
D(n) =n![0!1−1!1+2!1−3!1+4!1−……..+(−1)nn!1]
Where n is the number of students, in this case, 5.
Using the formula, let's calculate the derangements for 5 students :
D(5) = 5!(0!1−1!1+2!1−3!1+4!1−5!1)
D(5) = 120(1−1+21−61+241−1201)
D(5) = 120(0+21−61+241−1201)
D(5) = 120(21−61+241−1201)
D(5) = 120(12060−12020+1205−1201)
D(5) = 120(12044)
D(5) = 44
So, there are 44 ways in which none of the students sits on the allotted seat.