Question
This is how the problem starts. All the cbana doors start out being closed. Student assigned to cabana 1 opens the doors on all 100 cabanas. The students assigned to cabana #2then closes doors on all cabanas whose numbers are multiples of 2. Th e student assisgned to cabana #3 then changes the state of all cabanas whose numbers are multiples of 3 ex: the door on cabana #3 which is open gets closed, and cabana #6 which is closed get opened. Come up wit some sort of system to simulate the opening and closing of the doors
Ah, a restatement of the locker problem.
While not stated in your original problem, I presume you have 100 students, not just 3.
At the end of the day, the open doors will be those numbers that have an odd number of factors. These will only be numers that are perfect squares. (1,4,9,...). All other doors will be closed.
Ah, a restatement of the locker problem.
While not stated in your original problem, I presume you have 100 students, not just 3.
At the end of the day, the open doors will be those numbers that have an odd number of factors. These will only be numers that are perfect squares. (1,4,9,...). All other doors will be closed.
Answers
Related Questions
Imagine there are 100 lockers. Each locker is given a number 1-100. When the students are assigned...
in monty hall problem instead of 3 doors there are 20 doors and behind 19 there are goats and behind...
what does the process of scientific inquiry start with
A) it starts with a test performed by resear...
What does the process of scientific inquiry start with?(1 point)
Responses
It starts with a prob...