IBM Research

PUZZLE   IBM-204

7x7x7 with as much Peters

IBM Research · Ponder This · 2015-04

IBM Ponder This #204 · April 2015

A 7x7x7 cube is centered at the origin of a three-dimensional grid. The exact middle-point of each cell contains one character from the Peter Pan story. All the cells outside the cube are filled with Captain Hooks. Inside the cube some of the cells contain Peter Pans and the others contain Wendys.

The Captain Hook team wins if any one Hook can see at least one Peter Pan, but no Wendy, when looking in the direction of any one of his 26 immediate neighbors. We assume that all cell walls are transparent and you can see through them in any given direction.

Find a way to put at least 161 Peter Pans in the cube without letting Captain Hook win.

Supply your answer as a list of 343 characters: P for Peter Pan and W for Wendy. Start from the top close left corner and move left to right; top to bottom; close to far.

Solution

Best opened after a real attempt

To be added.