Logic Challenge
#1
Assume you have 1 million doors, they are all closed.

You will do 1 million operations of opening/closing doors.

At operation number 1 you close (the ones opened) and open (the ones closed) that are multiple of 1

At operation number 2 you close (the ones opened) and open (the ones closed) that are multiple of 2

At operation number n you close (the ones opened) and open (the ones closed) that are multiple of n

.
.
.

At operation number 1,000,000 you close (the ones opened) and open (the ones closed) that are multiple of 1,000,000

How many open doors do you have at the end?
Reply


Messages In This Thread
Logic Challenge - by Shidoshi - 2010-11-11, 01:17 PM
Logic Challenge - by Mute - 2010-11-11, 01:20 PM
Logic Challenge - by butterfλi - 2010-11-11, 01:40 PM
Logic Challenge - by Nikkey - 2010-11-11, 02:30 PM
Logic Challenge - by Salguod - 2010-11-11, 02:55 PM
Logic Challenge - by Jedward - 2010-11-11, 02:57 PM
Logic Challenge - by KaidaTan - 2010-11-11, 04:05 PM
Logic Challenge - by Kalovale - 2010-11-11, 04:14 PM
Logic Challenge - by Shidoshi - 2010-11-11, 04:17 PM
Logic Challenge - by Kalovale - 2010-11-11, 04:29 PM
Logic Challenge - by Kaasoljoyyx - 2010-11-11, 04:33 PM
Logic Challenge - by Kalovale - 2010-11-11, 04:51 PM
Logic Challenge - by WayOfTime - 2010-11-11, 05:04 PM
Logic Challenge - by Solarboy - 2010-11-11, 06:14 PM
Logic Challenge - by Shidoshi - 2010-11-11, 06:18 PM
Logic Challenge - by Takebacker - 2010-11-11, 06:18 PM
Logic Challenge - by ¬Rob - 2010-11-11, 06:41 PM
Logic Challenge - by Solarboy - 2010-11-11, 06:42 PM
Logic Challenge - by Mute - 2010-11-11, 07:09 PM
Logic Challenge - by Daku - 2010-11-11, 07:10 PM
Logic Challenge - by Kunagisa - 2010-11-11, 07:11 PM
Logic Challenge - by Stereo - 2010-11-11, 07:15 PM
Logic Challenge - by Kunagisa - 2010-11-11, 07:21 PM
Logic Challenge - by Hanabira.Kage - 2010-11-11, 11:49 PM
Logic Challenge - by Russt - 2010-11-12, 12:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)