On the Subject of Not Piano Keys

We should really stop dropping modules down mine shafts.

There will be a layout of white and black keys with three musical symbols on the top. The keys are separated into 7 white and 5 black keys. Note that the larger group of black keys is to the left of the smaller group.

Obtaining the Black Key Sequence

• Take the musical symbols on the module and use them in the below tables from top to bottom to obtain a sequence of 3 distinct keys, referred to by their position from left to right.
• If the serial number contains a 0 or 5, the remaining 2 keys will be pressed from right to left. Otherwise they will be pressed from left to right.
 3 1 5 4 2 5 4 1 5 5 1 4 2 2 1 4 2 5 4 3 3 2 3 1 3 4 1 5 1 2 1 1 3 1 5 5
 2 2 1 3 5 4 3 3 3 2 3 5 1 4 4 4 2 4 2 4 4 4 3 5 3 5 5 4 1 2 3 3 4 3 3 1
 2 5 5 2 3 1 1 1 3 5 4 4 2 4 5 5 2 3 3 3 3 1 5 2 4 2 2 4 4 5 3 1 1 3 3 5 4 1 5 4 2 2 5 4 2 2 4 3 4 1 4 1 4 3 3 3 3 3 1 2 1 2 5 4 4 5 4 2 5 3 1 2 3 5 2 2 5 4 5 4 4

Obtaining the White Key Sequence

• Take a sequence of the numbers from 1 to 7. These represent the white keys from left to right. Based on the three symbols shown, perform 4 swaps on this sequence.
• The first symbol on the module corresponds to a 2×2 quadrant of a 3×3 grid.
• Find the intersection of the 2nd and 3rd symbols on the below page to get a cell within a 3×3 grid. The intersection will always be within the quadrant specified by the first symbol. Take the 4 pairs of numbers within that quadrant and order them in clockwise order starting with the intersection.
• For each pair of numbers, swap the numbers in those positions in the sequence.
 67 72 15 51 36 23 42 15 24 21 46 31 17 26 64 71 52 13 14 21 53 75 41 12 26 37 62 52 17 74 43 25 31 61 24 16 31 65 12 21 71 56 12 45 21 76 51 37 42 21 41 21 26 63 76 32 42 24 63 27 15 13 51 25 13 61 16 52 71 34 21 47 12 54 27 32 15 45 23 63 72

Interweaving the Sequences

• Once the black and white sequences have been obtained, they need to be ordered.
• Use the order according to the last digit of the bomb’s serial number and press the keys in that order.
• B# represents the #th key of the black sequence.
• W# represents the #th key of the white sequence.
# Sequence
0 W1, B1, W2, B2, W3, B3, W4, B4, W5, B5, W6, W7
1 B2, W2, W3, B3, W1, W6, B5, W4, B1, W5, W7, B4
2 W5, W4, W1, B2, W3, B1, W7, W2, B3, W6, B4, B5
3 W2, B2, W6, B1, W4, W7, W5, B4, W1, B5, W3, B3
4 W6, B5, W1, W5, B3, W7, B2, W3, B1, W4, W2, B4
5 W6, B1, W1, B2, B5, B4, W2, W5, W7, B3, W3, W4
6 W3, W5, W2, B5, B2, W1, B1, B3, W6, W4, B4, W7
7 B4, W7, W1, W3, B2, B3, W4, B5, W5, W2, B1, W6
8 W7, B1, W3, B5, W1, W4, B4, W5, W2, W6, B2, B3
9 W6, W3, W2, W4, B1, B3, B4, W1, W7, B2, B5, W5