PUZZLE IBM-302
The temporal cheese maze
IBM Research · Ponder This · 2023-06
IBM Ponder This #302 · June 2023
A super intelligent mouse is placed in a three dimensional "maze", consisting of a
Every cell in the maze contains one unit of cheese. The catch: This is temporal cheese; it's phasing in and out, and is present only at certain times. If the mouse is at cell
At each time unit, the mouse can either stay in place, or move one step in exactly one direction. The maze has walls allowing only movement right, up, and forward on the X, Y, and Z axes, respectively.
For example, if present at
(waiting in place) (moving right in the X axis) (moving up in the Y axis) (moving forward in the Z axis)
We denote the path taken by the mouse by a sequence of letters: 'W', 'R', 'U', and 'F', corresponding to options 1-4 above.
At time
The phases of the cheese are determined by the following linear congruential generator:
Where
a =
c =
m =
The cheese is present at
For example, when
For
FFRFWFWRRRUUUWWWUWW
Your goal: Find the maximum amount of cheese obtainable for
A bonus "*" will be given for solving the same problem for
Solution
Best opened after a real attemptTo be added.