There are 10 students in the class and 10 seats in the classroom, and each student sits in the same seat during every lesson. However, the teacher insists that no student sit in their "usual" seat during an exam. How many different seating arrangements are permissible during an exam?
I'm thinking the first student has a choice of 10-1 seats to choose. then the next student would have 9-1, then 8-1, 7-1, 6-1, 5-1, 4-1, 3-1, 2-1. However, that doesn't seem to work because what if the last chair was the same seat the last student usually sits in.