Question
You are an amazingly successful hotelier; one of your properties is Chez Four-Thirteen. Suppose there are 8 distinguishable hotel rooms (numbered 101, 102,...,108), each with
You are an amazingly successful hotelier; one of your properties is "Chez Four-Thirteen". Suppose there are 8 distinguishable hotel rooms (numbered 101, 102,...,108), each with maximum occupancy of 4 people. A bus comes in with anywhere from 1 to 32 (distinguishable) people, but you do not know exactly how many. While waiting, you decide to calculate (making use of combinatorics) the number of possible ways the people on the bus can spend the night in those hotel rooms so you can make a welcome sign. Determine this number. Use a computer to express the answer with all the digits (e.g., 31415926535897932384626433832795); write down for your check-in clerk the order of magnitude (e.g., 1032). I recommend python to do the computation.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started