There are n people in line to enter a cinema that own n seats. Each of the n people have an allotted seat in the cinema hall where they are supposed to sit. The first person forgets his/her seat number on the ticket, so he/she decides to take a random seat to watch the movie. Every person after him/her hold the ticket and remember their seat number.(They are entering the cinema hall one by one.) If their seat on ticket is available, they will take this proper seat, otherwise they will choose a random available seat instead.
Now, in the actual question, it is asked what is the probability of the last person entering the cinema hall sitting in his allotted seat? But what I want to ask is that what are the total number of seating arrangements possible in the cinema hall?
Main Question: what are the total number of seating arrangements possible in the cinema hall?
I proceeded like this: If 0 persons were sitting in wrong places (not in their allotted seats), then only 1 case is possible because it is only possible if the first person sits in his allotted place. It is not possible that 1 person is sitting in a wrong place if he is sitting in a wrong place, then he is sitting in someone else's allotted seat. If 2 people are sitting in a wrong place, then the first person has n-1 choices of seats because he cannot sit in his allotted seat and the second person has to sit in the first person's allotted seat, so there are n-1 such cases. If three persons are sitting in the wrong place, then there are only (n-1)(n-2) possible cases. This is how I tried to proceed to find my answer. Am I proceeding in the correct direction? If not please do point out my mistake. Also, please show me an easier method to find the answer if you find any.
Thanks in advance.