On the Subject of Light Cycles

The name “blinkenlights” was taken.

There are six colored LEDs in a row which continuously flash in sequence from left to right. To disarm this module, determine a sequence of colors, then input that sequence by pressing the button when each color is lit. (For example, to enter the color red, press the button when the red LED is lit.)

Determine the correct sequence of colors as follows:

  • Start with the order of the LEDs on the module. This is a sequence of six colors.
  • Take the first and last character of the serial number, then the second and second-last, etc. up to the last and first character, resulting in a list of 6 pairs.
  • For each such pair of characters, look up the information in the following table. Use the first in the pair for the row, the second for the column. A letter in the table refers to a color (R = red, Y = yellow, G = green, B = blue, M = magenta, W = white), while a number refers to a position in your sequence (1 through 6). Swap those two colors in your sequence.
  • After performing the six swaps, enter the resulting sequence.
A, B, CD, E, FG, H, IJ, K, LM, N, OP, Q, RS, T, UV, W, XY, Z, 01, 2, 34, 5, 67, 8, 9
A5/BB/RM/GY/54/1R/W6/41/62/33/MG/YW/2
B2/R6/M4/35/BR/5Y/21/GM/YW/63/4B/WG/1
CM/Y2/4Y/R3/5W/2G/B1/WR/35/G4/6B/M6/1
D5/66/31/4M/2R/Y2/MW/RB/GY/W3/BG/14/5
EB/RW/22/31/4M/B5/6Y/WR/MG/Y6/G3/54/1
FR/Y2/G1/MY/55/RW/B6/3B/1M/4G/63/24/W
GY/15/42/WR/Y1/RB/36/GG/6M/BW/54/23/M
H3/5W/YG/22/B5/GM/RB/31/44/6Y/M6/WR/1
IR/M4/55/WB/1M/63/2W/BG/YY/R1/46/G2/3
JW/BR/65/Y4/12/5Y/3M/W3/2B/GG/M1/R6/4
K6/4B/2W/GR/5G/12/YY/RM/B1/63/W5/34/M
L6/4B/5W/61/GR/24/RG/W3/M2/BY/35/YM/1
MW/33/G2/4Y/MM/2R/56/RB/6G/Y5/B1/W4/1
N1/Y6/M2/1G/R3/G5/BR/44/3W/2Y/WB/5M/6
OR/53/G2/3W/4B/21/M5/6M/14/YG/B6/RY/W
P1/44/B6/23/WM/RY/6B/Y2/G5/MG/5R/3W/1
Q5/GM/B4/WY/2R/MW/46/13/6B/Y1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