PUZZLE IBM-083
6x6x6 cube with different signatures
IBM Research · Ponder This · 2005-03
IBM Ponder This #083 · March 2005
Puzzle for March 2005
This month's puzzle is attributed to Peter Manyakhin, and sent in by Max Alekseyev.
Consider a cube of dimension 6x6x6, such that each unit cell in it contains a bit 0 or 1.
From each row (column or stack) in the cube we can read six bits. These six bits up to direction of reading are called the "signature" of the row.
Examples of signatures are:
{000111, 111000} (i.e., 000111 and 111000 form the same signature);
{011101, 101110} (reading one direction it's 011101; from the other direction, 101110);
{101101} (this is a palindome, reading the same frontwards and backwards, so only needs one representative).
There are exactly 36 different signatures. 8 of them are palindromes (such as {101101}), and the other 28 are pairs of six-bit strings, one being the reversal of the other (such as {100111, 111001}).
Your problem: find such a cube such that all 36 rows (parallel to the x-axis) have different signatures; all 36 columns (parallel to the y-axis) have different signatures; and all 36 stacks (parallel to the z-axis) have different signatures. That is, each of the 36 possible signatures occurs exactly once in each of the three directions (x,y,z).
Please present the solution in plain text (no attachments), in the following format:
001001 101010 011110 110011 100001 000110
110001 100001 001001 010111 110011 011110
101010 011110 011111 111101 101010 110111
101001 111101 001111 011110 101110 011000
100110 011001 011001 110011 011110 100000
100011 011111 011111 110010 010100 011000
Each 6x6 block represents one layer of the cube (parallel to the x-y plane), and moving from block to block we move in the z direction. We see six lines, each having 36 digits, with a single space between each group of six digits. A standard format makes it easier for me to check, so no other format will be accepted. As usual, each solution should be your own work, though computer assistance is allowed. (After all, we sell computers!)
Extra credit for a "balanced" solution, where each octant has 13 or 14 1-bits.
The first 100 people who answer correctly will be listed. The answer will be posted a week after the 100th is received, or at the end of the month.
Solution
Best opened after a real attemptTo be added.