2010-11-11, 04:14 PM
Uh, this seems impossible without chopping everything up with a chain of automated reiterations.
The first turn will turn everything (including the first door) open. Subsequent operations no long touch doors they already passed, thus certain (e.g the first door) or more precise every door up to 999th retains its state past a certain point.
The open/close states depend on the door's total number of factors, which so far I haven't seen the pattern for. Even the primes pose enough of a problem for me personally.
The first turn will turn everything (including the first door) open. Subsequent operations no long touch doors they already passed, thus certain (e.g the first door) or more precise every door up to 999th retains its state past a certain point.
The open/close states depend on the door's total number of factors, which so far I haven't seen the pattern for. Even the primes pose enough of a problem for me personally.

