How many ways to place 8 different books on 3 different shelves if order matters?

168 Views Asked by At

How can we place 8 different books on 3 different shelves if the order of the books on the shelves matters?

If the order didn't matter, then this problem would simply be a "stars and bars" problem. However, I don't know how to factor in the fact that the order of the books matters. I know that the number of ways to order n distinct objects is n!. Could someone at least give me a hint? Thanks.