On the Subject of Forgor Me Not

When TP people compile a module...

Read Mode

For every stage, note down:

  • The LEDs on buttons;
  • The color of stage counter (on smaller screen);
  • Base-36 number (on larger screen).

To get the final digit F of any stage:

F = (X^Y)%(10+C),

X - base-36 number,
Y - LED number (treat LEDs as binary digits in reading order),
C - color number (convert color to its RGB components, and treat these as single binary number).

If F is more than 9, subtract 10 from it and add 1 to the next stage's F. If there's no next stage, discard the extra 1.

Submit Mode

Take amount of ports modulo 8. If that results in 0, change the answer to 1. Let's call that R.

Rotate the 3x3 ring on the module R cells clockwise, then swap 0 with the last SN digit.

Example of 5 ports and SN ??#XX5:

123698
456307
78902145

This means that every time you press 1, the module will consider it as a 6, 2 - as a 9, 3 - as an 8...

For every inputted stage, button labels will scramble. Continue inputting relying on labels, not the positions.

The output screen will show garbage. Do not pay attention to that.