10
$\begingroup$

I watched The Promised Neverland recently and after exploring a little, I found out that Norman used a 5x5x5 Rubik's cube (aka a professor's cube) to communicate when he was held at the $\Lambda\text{-}7214$ research facility. The image below describes the same.

enter image description here


I began wondering how one could possibly use a cube for communication. One idea struck me which involved using one row to encode one character. Here's the method I devised:

enter image description here

The image above shows a row of a 5x5x5 cube as seen from the front.
Here are the numbers associated with the six colours that constitute the cube:

  • White: 1
  • Blue: 2
  • Orange: 3
  • Green: 4
  • Red: 5
  • Yellow: 6

    It's hard for me to explain how I came up with this or why it is what it is but I think stating some examples will help you understand it just fine.


    Let's say that the character that we need to encode is at the $x^{\mathrm{th}}$ position in the alphabet. Here's what we need to do to encode it in a row.

    First, we need to see if $x\leq24$. If yes, we follow algorithm $A$. If not, we follow algorithm $B$.

    Algorithm $A$:

  • Find $\left\lceil\dfrac x6\right\rceil \overset{\mathrm{def}}{=} y$ where $\lceil k\rceil$ gives the smallest integer greater than or equal to $k$.
  • Find $x-\left\lfloor\dfrac x6\right\rfloor\overset{\mathrm{def}}{=} z$ where $\lfloor k\rfloor$ gives the greatest integer smaller than or equal to $k$. If $z=0$, make it $6$.
  • Fill the $y^{\mathrm{th}}$ square from the beginning with the color corresponding to $z$ and fill the last square with the colour corresponding to $y$

    We have devised a way to represent the first $24$ alphabets in this way. The remaining two will be covered via Algorithm $B$.

    Algorithm $B$:

  • Paint the last square with the colour corresponding to $4+(x-24)=x-20$. So, if $x=25$, paint the last square with the color red, if it's $26$, paint it with the color green.

    Examples:

    If we need to encode $S$, we first find the value of $x$ which comes out to be $19$. Also, $y=4$ and $z=1$. $S$ is denoted by:

    enter image description here

    (Black: not relevant)

    Similarly, the word TEST will be denoted by:

    enter image description here


    To decrypt a row, let $x$ be the number corresponding to the color of the rightmost square and for $x\leq4$, let $y$ be the number corresponding to the $y^{\mathrm{th}}$ square from the left. If $x>4$, then for $x=5$, the alphabet is $Y$ and for $x=6$, the alphabet is $Z$.

    For $x\leq4$, the alphabet is the one at the position $6(x-1)+y$


    What I want to know about is the potential drawbacks of this method. One is, obviously that three out of the five "squares" in each row are wasted. Another drawback is that it's hard to show more than 5 words on the whole cube but that doesn't seem to be a problem with the method.

    Also, what are some alternatives to this? What are some other ways that you have heard of to accomplish this and how do they compare with this method?


    PS: This is my first question on Puzzling SE. So, if I was unable to make my method clear, please let me know so that I can edit the question for the same. I don't know if what I talk about is something on-topic here. If it is and it interests people and making the question longer is fine, I would very much like to elaborate. Edits on the tags are very welcome.

  • $\endgroup$
    7
    • $\begingroup$ To be clear, do you not care about encoding the rotation? That is, If you pass me the cube, I would need to examine each side and every rotation, until I find the one that works (that can be decoded into something that makes sense) ? $\endgroup$
      – Vepir
      Commented Dec 22, 2020 at 20:12
    • 1
      $\begingroup$ Maybe you could use something like the Nihilist cipher but without the part of adding the numbers. Then, you have a way to convert letters into pairs of numbers from 1 to 5. This allows you to use 5 colors to write 12 letters on one side of the cube, leaving you one extra color and one extra square to encode the rotation. $\endgroup$
      – Vepir
      Commented Dec 22, 2020 at 20:20
    • $\begingroup$ Each face can encode $6^25$ possibilities, which is equivalent to 13 English characters. $\endgroup$ Commented Dec 23, 2020 at 2:04
    • $\begingroup$ @DmitryKamenetsky That sounds interesting! How did you calculate the number of possibilities, by the way? As far as I know, if we were simply finding out the number of ways to arrange the colours on a face, the number of arrangements would be much more... $\endgroup$ Commented Dec 23, 2020 at 15:01
    • 1
      $\begingroup$ @RajdeepSindhu Ciphers that use 5 by 5 matrices like nihilist, playfair, collon, ... usually remove the letter J to be able to fit all letters, i.e. declare J=I as same letters. If someone wants to turn my comment into an answer, I don't mind. (Is every face of possible color permutations actually reachable by cube rotations is for what I haven't found a reference yet.) $\endgroup$
      – Vepir
      Commented Dec 23, 2020 at 15:16

    2 Answers 2

    3
    $\begingroup$

    I would send something like the first picture as my 'Rosetta stone' and hope to get something like the second one. Decoding the spaces should not be a big problem and reading the message makes almost certain my message is understood. enter image description here

    enter image description here

    If the speed of communication is important, one could use to try to use multiple faces, but not all combinations are possible (one could e.g. run out of a color, so how to handle such cases should be communicated.

    In addition, there is much inefficiency. The answer already encodes space as 1 purple, but you might want to encode for example rarely used letters with more than 2 squares so you can encode heavily used ones with less than 2. Also, there is much redundancy in English (any language). However, it will be extremely hard to establish significant more efficient communication using only the cube to agree upon something.

    $\endgroup$
    2
    $\begingroup$

    A 5x5x5 cube has around 2.8E74 possible states. So if your character had some algorithm that allowed them to order all those states then any specific cube carries about 247 bits of information. Communicating in 7-bit ascii would allow a cube to represent any arbitrary 35 character sentence. So, for example, I could post this answer by use of only 11 rubics cubes (suitably jumbled).

    $\endgroup$

    Not the answer you're looking for? Browse other questions tagged or ask your own question.