## On the Subject of Factoring Maze

Who said module names needed to be original?

This module will contain a 4×4 grid of numbers. One of the squares will be white, this is your starting position. Pressing an adjacent square will move yourself in the direction of that square.

To solve the module, navigate to nth square in reading order, where n equals the product of the nonzero digits in the serial number*, subtracting 16 until the product is less than 17. *If all digits in the serial number are zeroes, use the top-left square as your goal position.

The module chooses 4 unique primes from 2 to 29 (select them on the next page).

• The smallest of these numbers will represent a wall above the cell.
• The 2nd smallest of these numbers will represent a wall left of the cell.
• The 3rd smallest of these numbers will represent a wall beneath the cell.
• The largest of these numbers will represent a wall right of the cell.

To find the walls surrounding a cell, separate its number into its prime factors. If the prime corresponding to a wall is a factor of the number, the wall is present. Otherwise it is absent.

Attempting to walk through a wall in the maze will incur a strike.

Size:
4
Path:
Solution:

### Interactive Controls

Use the above interactive graphic to input the read and try out different paths.