If you know that 64 = 2^6 it really isn't that hard.
64 is easy it's knowing what other switches are on and why that is the main part of the question.
If you know that 64 = 2^6 it really isn't that hard.
64 is easy it's knowing what other switches are on and why that is the main part of the question.
The latter part of the question isn't terribly well worded. What is it asking for? Which lights beyond 64 are on after all 100 people have walked past?
Having run through it in my head I have light 1 on. All prime number lights are switched off. All other lights are switched on?
No. See my 65 and 66 example above. Neither is prime, but one is on and one is off.
It's to do with the number of factors (excluding 1) that each number has. Even number of factors = on. Odd number of factors = off.
Actually your examples are wrong. 66 would be off as you forgot the factor 6. Your line of thinking about about the odd and even number of factors determing the light being on/off is correct though. As a hint 64 is the example used for a reason. It has a property that ensures it has an odd number of factors.
It's nothing to do with friction and/or energy used lifting one side v.s. the other.The revolving cylinder doesn't use any energy in physics land. It's a closed system and any energy used in lifting one side of the cylinder is made up for by the other side falling. In physics land you could set an object spinning and it would never stop without friction or air resistance. Once you introduce those things, all bets are off as things get too complicated.
8 pennies, split into two piles of 4, keep the four that weigh least... step 1
take the four, split into two piles of 2, keep the two that weight least.. step 2
take the last two, split and weigh.. the result is obvious.. step 3
This is actually quite a simple logic question..
It has a property that ensures it has an odd number of factors.
That is not less than 3 steps?
step 1: split into 2 piles and keep the 4 that weigh the least
step 2: split into 2 piles of 2 and keep the 2 that weigh the least
You cant use a 3rd step because it says in less than 3 steps...
Even power of 2 is sufficient, but not necessary...Curiosity is getting the better of me... What property is this? Even power of 2?