Maths Olympiad Prep

Track / Stage 6 / 351 of 400 #1351 of 1964

Problem 1351

National olympiad, first round
Combinatorics Difficulty 6.8 Find the answer

There are 169169 lamps, each equipped with an on/off switch. You have a remote control that allows you to change exactly 1919 switches at once. (Every time you use this remote control, you can choose which 1919 switches are to be changed.)

(a) Given that at the beginning some lamps are on, can you turn all the lamps off, using the remote control?
(b) Given that at the beginning all lamps are on, how many times do you need to use the remote control to turn all lamps off?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Official solution

Let's analyze the problem step-by-step to determine the minimum number of times the remote control needs to be used to turn all lamps off, given that all lamps are initially on.

1. Initial Setup:
- There are 169 lamps, all initially on.
- The remote control can change exactly 19 switches at once.

2. First Use of the Remote:
- Turn off 19 lamps.
- Number of lamps still on: 16919=150169 - 19 = 150.

3. Second Use of the Remote:
- Turn off 18 lamps and turn on 1 lamp.
- Number of lamps still on: 15018+1=133150 - 18 + 1 = 133.

4. Subsequent Uses of the Remote:
- Notice that 133 is a multiple of 19: 133=19×7133 = 19 \times 7.
- Therefore, we can turn off 19 lamps at a time for the next 7 uses of the remote.

5. Calculation of Total Uses:
- First use: 1 time.
- Second use: 1 time.
- Subsequent uses: 7 times.
- Total number of uses: 1+1+7=91 + 1 + 7 = 9.

Thus, the minimum number of times the remote control needs to be used to turn all lamps off is 9.

The final answer is 9\boxed{9}.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.