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?

bulb in a circle puzzle

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

On a circle there are 2014 light bulbs, 2 are ON, and 2012 are OFF.

Case 2

On a circle there are 2014 light bulbs, 2 are ON, and 2012 are OFF.

Case 3

Solve the Bulb in a Circle Puzzle

Case 4

Bulb Puzzle with detailed Explanation

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

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription