MathDB
Switching operations in a cube

Source: ARO Regional stage 2023 9.10

February 16, 2023
3D geometrycombinatoricsRussia

Problem Statement

A 100×100×100100 \times 100 \times 100 cube is divided into a million unit cubes and in each small cube there is a light bulb. Three faces 100×100100 \times 100 of the large cube having a common vertex are painted: one in red, one in blue and the other in green. Call a <spanclass=latexitalic>column</span><span class='latex-italic'>column</span> a set of 100100 cubes forming a block 1×1×1001 \times 1 \times 100. Each of the 3000030 000 columns have one painted end cell, on which there is a switch. After pressing a switch, the states of all light bulbs of this column are changed. Petya pressed several switches, getting a situation with exactly kk lamps on. Prove that Vasya can press several switches so that all lamps are off, but by using no more than k100\frac {k} {100} switches on the red face.