Puzzle | Light all the bulbs Read Courses Practice Improve Improve Improve Like Article Like Save Article Save Report issue Report Problem Statement: Consider a circle with 2014 light bulbs and only 2 of them are on and the rest are off. Anyone can choose any of the bulbs and change the state of the neighboring bulbs. The task is to switch all the 2014 light bulbs on? Solution: Yes, it is possible to get all the light bulbs ON. Firstly label all the 2014 light bulbs from B-1 to B-2014(in sequence). As the positions of the light bulbs in the ON state are not mentioned in the problem statement. So, consider that those 2 bulbs are adjacent to each other and are labeled B-1 and B-2. Therefore, bulbs labeled from B-3 to B-2014 are initially in the OFF state and all the bulbs in the OFF state are adjacent to each other. Follow the steps below to solve the given problem: Consider all the 2012 remaining bulbs in groups of 4. In order to light up all the bulbs perform the following strategy: The first group consists of bulbs B-3 to B-6. Select the second bulb from the chosen group and change the state of adjacent bulbs. Here, select bulb B-4 and change the state of bulbs B-3 and B-5 from the OFF state to the ON state. The second step is to select a third bulb from the chosen group and change the state of its adjacent bulbs. Here, select the bulb B-5 and change the state of bulbs B-4 and B-6 from OFF to ON. Similarly, the above process can be repeated for a total of 503 groups(consisting of 4 light bulbs each) and all the given 2014 light bulbs can lighten up. Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now! Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore. Last Updated : 18 Jan, 2023 Like Article Save Article Previous Puzzle 46 | Rich or Poor Next Puzzle | Distribute the Water Share your thoughts in the comments Add Your Comment Please Login to comment...