Ohhhh ok I think I get it now, thanksThere's four unique ppl, A, B, C and D. They can go in four unique rooms, 1, 2, 3 and 4, each with four beds. We wanna find out how many ways to assign each person a room, and multiple ppl can have the same room. For example, A1, B1, C2, D3. Start by assigning A a room. There are 4 rooms avaliable (all vacant). Assign B a room. There are still 4 rooms (all rooms have space). Assign C a room. There are still 4 rooms. Assign D a room. There are still 4 rooms. That gives 4*4*4*4=4^4 ways to assign rooms to the four ppl.
Thank you! That makes things very clearHere is the way that might make it easier to understand. You have 4 rooms, OK, so draw 4 small squares. Ask yourself the question. 'How many choices (or people) can i select to occupy the first room? '. The answer is 4, so place a 4 in the first square. Moving to the next room (or square). Ask yourself the question. 'How many choices (or people) can i select to occupy the second room?' Since each room has enough beds for all the 4 people, place a 4 in the next square. Repeat this process for room 3 and 4. Using the multiplication principle we have: