On the Subject of Modulo Maze
Today’s lottery numbers are: Two, One Four Seven, Four Eight Three, Six Four Seven.
This module consists of 4 arrows and 2 displays. The display at the bottom has a number between 1000000000 and 2147483647. The display on the right represents the goal, where the letter is the column from left to right, and the digit is the row from top to bottom. The color of the module is randomized, but is irrelevant to the solving process.
To solve the module, navigate a maze such that you are on the goal position when the displayed number becomes 0.
When you press an arrow, not only will you move in the maze, the bottom number will change. More specifically, if the displayed number (X) is greater than the number in the space you move to (Y), the displayed number will become X modulo Y. If the displayed number is smaller, the displayed number will become Y modulo X.
Reaching a display of 0 when you're not at the goal position will incur a strike and regenerate the module. Walking into a wall also incurs a strike and regenerates the module, regardless of your position. However, if you move to the goal position and the resulting number is not 0, no penalty is incurred.
There can and will be more than one possible solution to the module.
All mazes are 8x8, and have unique numbers.
To determine the maze used, take the displayed number (upon module generation), and subtract the sum of the digits in the serial number. Take the result modulo 7, and use the corresponding maze.
Then, to determine your starting position, take the displayed number (upon module generation), and subtract the sum of the alphabetic positions of the letters (A1Z26) in the serial number. Take the result modulo 64 to get your starting position in the maze in reading order, with the top-left space being 0.
An example will be provided on the last page.
NOTE: If you are going to copy and paste numbers from the mazes, you will need to double-click the space immediately to the left of that cell. The remedy to this issue is currently not known.