This logical machine is supposed to drive the lock of an important safebox. This machine will accept strings; some strings will block the safebox, some strings will be neutral (these will not produce any effect on the lock), and some strings will open the safebox. There is a certain relationship between some pairs of strings, and we will say that some string is "especially related" to another string; the meaning of this relationship is not clarified further! These are the properties of the machine:
- For any string x, QxQ is especially related to x (for example, QGBQ is especially related to GB).
- If the string x is especially related to the string y, then Lx is especially related to Qy (for example, since QGBQ is especially related to GB, then LQGBQ is especially related to QGB).
- If the string x is especially related to y, then Vx is especially related to the reverse of y (for example, since LQGBQ is especially related to QGB, we see that VLQGBQ is especially related to BGQ, the reverse of QGB).
- If the string x is especially related to y, then Rx is especially related to the repetition of y (for example, since LQGBQ is especially related to QGB, then RLQGBQ is especially related to QGBQGB, the repetition of QGB).
- If x is especially related to y then, if x blocks the lock, y will be neutral, and if x is neutral, y will block the lock.
With these conditions, it is possible to find a string that will open the safe. Can you find one? (Hint: what happens if we enter a string which is especially related to itself?)
Input a string in the area below and press 'Check' to see what other string it is "especially related" to:
|
|