PUZZLE IBM-294
Numbers in a cube
IBM Research · Ponder This · 2022-10
IBM Ponder This #294 · October 2022
The following puzzle was suggested by Evert van Dijken:
Consider a
To each
1 3 2
2 1 3
3 2 1
2 1 3
3 2 1
1 3 2
3 2 1
1 3 2
2 1 3
There are 27 rows, each containing all the numbers 1, 2, and 3. To illustrate, we mark three such rows, each in a different axis, using different bracket styles:
[1] [3] [2]
2 1 3
3 2 {1}
(2) 1 3
(3) 2 1
(1) 3 {2}
3 2 1
1 3 2
2 1 {3}
There are 4 corner-to-corner diagonals, three of which contain 1, 2, 3 and one containing only 2:
[1] 3 {2}
2 1 3
3 2 1
2 1 3
3 {[2]} 1
1 3 2
3 2 1
1 3 2
{2} 1 [3]
And 18 edge diagonals, 9 of which contain 1, 2, and 3, while the other 9 do not:
[1] {3} 2
2 1 3
3 2 1
2 [1] 3
3 {2} 1
1 3 2
(3) 2 [1]
1 (3) 2
2 {1} (3)
The total count is 27+9+3=39. We can compactly represent this solution by the string
1 3 2
2 1 3
3 2 1
2 1 3
3 2 1
1 3 2
3 2 1
1 3 2
2 1 3
39
(Note the count in the final line).
Your goal: Find a solution of at least 110 for
A bonus "*" will be given for getting at least 60 solving the case
Solution
Best opened after a real attemptTo be added.