CountingTechnique

Problem - 2528
Library MAS has m bookshelves for books of m different categories. Each bookshelf has n books. Joe, the librarian, needs to re-arrange these books. Books of the same category still need to be put on the same bookshelf, but their order can change. How many different arrangement plans are there that: (a) no book is put on the same bookshelf as before? (b) no book is put on it original position? (c) no book is on the same bookshelf, and no book is at the relative position in the new bookshelf as it was before

report an error