9 people are assembled in a circular room with 17 doors numbered 0 through 16 inclusive which all start off closed. Then, the first person goes through and switches every door. The next person goes through and closes a door if open and opens it if closed for the powers mod 17. The next person does the fifth, and so on up until powers. Which doors will be open and closed?
Express your answer as seventeen 1s or 0s where a 1 represents an open door and a 0 a closed one.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!