There are 10 persons to be seated on chairs with numbers 1 to 10. The first person first comes and can seat on any chair. Then for i = 2, 3, . . . , 10, the i-th person enters and takes the seat i if it is available, otherwise any other seat. In how many ways can they be seated?
I tried to make different cases and tried easier related questions to get a good idea to approach this one. But I still can't find a good approach. I just want a hint of some kind to get started on the correct path.