The students continue with this pattern, the n-th student switching every n doors. After a thousand students have walked down the hallways of lockers, which doors end up being open?

**Please**tell me there is a simple, or simple-ish, way of doing this!?!