On the Subject of Simon Swizzles

Sup? Simon has seriously returned, with a surplus of surprisingly strange stumping schemes of seismic size to swindle each and every silly striver, simply to spectate the suffering.

On the module are 16 flashing squares.

Each of these squares has its own ‘logic gate’ out of the 16 possible combinations of binary operators, including always off and on.

The module has a hidden number from 1 to 59 in binary that it is using with the timer for the operators each second. Every second, one of the 6 least significant bits is picked and run through the square’s logic gate. If it returns 0, the gate stays off. If it returns 1, the gate changes to a color corresponding to the position of the bits that were operated on.

The order of these colors, from most to least significant, is red, green, yellow, blue, magenta, and cyan. A white flash is always using an internal bit of 1.

To solve the module, press the button (OFF’s distance in reading order from button #1) in reading order from the ON operator, at the time of the module’s internal value.

Note: In this table, and the module, the bomb’s timer is the left column.

OFF
0 1
0 0 0
10 0
AND
0 1
0 0 0
10 1
!LIMP
0 1
0 0 0
110
LEFT
0 1
0 0 0
111
!RIMP
0 1
0 0 1
10 0
RIGHT
0 1
0 0 1
10 1
XOR
0 1
0 0 1
110
OR
0 1
0 0 1
111
NOR
0 1
0 10
10 0
XNOR
0 1
0 10
10 1
!RIGHT
0 1
0 10
110
RIMP
0 1
0 10
111
!LEFT
0 1
0 11
10 0
LIMP
0 1
0 11
10 1
NAND
0 1
0 11
110
ON
0 1
0 11
111