On the Subject of Intensity Levels

Wow, that was intense!

In this module, your goal is to set the intensity to a specific level and press the button at the correct time.

Step 1: Intensity

To get the correct intensity, you first get the first digit of the serial number multiplied by the number of battery holders. Take that number + 1 and mark it as x.

Next, take the last digit of the serial number multiplied by the number of ports. Take that number + 1 and mark it as y.

Take x and add y to it. Take that number and mark it as z.

If the number of batteries is even, multiply z by 2. Otherwise, multiply z by 3.

Multiply the final z by y. This, modulo 5, is your final intensity. Input this intensity on the left panel on the module using the two arrows below the big colored button.

Step 2: Color

Take the final intensity level + 1 multiplied by y and divided by the digital root of z (multiply by 1 if the digit root is 0). Keep only the integer part. Take that number and mark it as a.

Use Table A on page 2 to get your multiplier. Use the button color as the row and the final intensity level as the column. Multiply a by this number.

Next, use Table B on page 2 to get another multiplier. Use your x modulo 10 as your row and your y modulo 10 as your column. Multiply a by this number.

Take a plus 1 modulo 10 and press the big colored button when the last seconds digit on the timer is equal to a to solve the module.

Table A01234
Red12345
Blue678910
Green1112131415
Yellow1617181920
White2019181716
Black1514131211
Magenta109876
Cyan54321
Table B0123456789
050494847464544434241
140393837363534333231
230292827262524232221
320191817161514131211
410987654321
512345678910
611121314151617181920
721222324252627282930
831323334353637383940
941424344454647484950