On the Subject of Switch Placement

What if you’re only one flip away? Better try another guess.

  • Using the colors and orientations of the switches in the 5×5 grid, determine the correct states for all twelve switches. The module will automatically solve when all the switches are in their correct states.
  • Each switch occupies two “paired” cells in the grid. The coloring for the switches uses RGB mixing (see Appendix rGb).
R > G, B G > R, B B > R, G Two-Way Tie Three-Way Tie

Appendix
rGb

These are getting too
weird.

H - V <= -4
H - V = -2
H - V = 0
H - V = 2
H - V >= 4

Find the key column and row using the information provided on the module. R, G, and B refer to the number of switches which contain the red, green, and blue channels respectively. H and V refer to the number of horizontal and vertical switches.

All horizontal switches which occupy a cell in the key column must be flipped towards the key column. Likewise, all vertical switches which occupy a cell in the key row must be flipped towards the key row.

To find the correct states for the remaining switches, find the table whose D equals the direction from the center cell that its paired cell is. Starting from the intersection of the key column and row, and processing the cells from there in numerical order (wrapping around to 1 if necessary), flip the switch at the current cell towards the current cell if its correct state has not been identified yet.

D = ⇧
238211625
201524712
92213417
14192116
1105183
D = ⇦
61713425
12281420
211231910
16223915
11718245
D = ⇨
11161621
17722212
23131883
92441419
520152510
D = ⇩
12567
243498
2322251011
2021161512
1918171413