Bulb in a Circle Puzzle
Solve the Bulb in a Circle Puzzle
Go through the page to understand the detailed solution to the Bulb in a Circle Puzzle.
On a circle there are 2014 light bulbs, 2 are ON, and 2012 are OFF. You can choose any bulb and change the neighbor’s state i.e. ON to OFF or OFF to ON.
Doing so, What is the maximum number of bulbs we can turn on?
Solution
What we think depends on the number of light bulbs and the order the two lighted bulbs are in.
- There can be 4 cases
- Case 1: If the two lighted bulbs are next to each other and the total number of lightbulbs is an odd multiple of 2 (odd # * 2), then we can turn on all bulbs.
- Case 2: If the two lighted bulbs are next to each other and the total number of lightbulbs is an even multiple of 2 (even # * 2), then we can turn on all but 2, **unless the total number of bulbs is 2, which doesn’t make sense here as a scenario anyways.
- Case 3: If the two lighted bulbs have a one bulb gap between them, and the total number of lightbulbs is an odd multiple of 2 (odd # *2), then we can turn on all but 2.
- Case 4: If the two lighted bulbs have a one bulb gap between them, and the total number of lightbulbs is an even multiple of 2 (even # * 2), then we can turn on all bulbs.
The two cases relevant here are case #2 and case #4. Try this for the simplest cases: 4 light bulbs and 6 light bulbs, and you’ll quickly see that these conclusions should hold true for larger sets.
Case 1
Case 2
Case 3
Case 4
Prime Course Trailer
Related Banners
Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription
Get over 200+ course One Subscription
Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others
- Crossing the Bridge Puzzle Answer
- Death & Marbles Puzzle Answer
- Airplane Seat Puzzle Answer
- 2 Eggs & 100 Floors Puzzle Answer
- Bank Cashier Puzzle Answer
- Calendar Cube Puzzle Answer
- Ants & Triangle Puzzle Answer
- Measuring 9 mins Puzzle Answer
- Camel & Bananas Puzzle Answer
- King & Wine Puzzle Answer
- Sum & Product Puzzle Answer
- Heaven or Hell Puzzle Answer
- 3 Mislablled Jars Puzzle Answer
Login/Signup to comment