On the Subject of Not Karnaugh Map

What did you just say? Mastermind Cruel is trivial AND solo? Alright, Megum, I think this module will be easy for soloing too.

  • The module shows a screen, 5x5 grid and 6 buttons: 1, 2, 3, 4, D, S.
  • If there are less than 5 zeroes AND less than 5 ones on the grid, you’re looking at a different module.
  • To solve this module, you need to submit a 16-trit ternary number using information from grid on the module.
    • To input 0, press 1.
    • To input *, press 2.
    • To input 1, press 3.
    • DO NOT PRESS 4.
  • To submit your answer, press the “S” button.
  • Press the “D” button to delete your last input.

How to calculate the answer:

  1. You’ll need to pick 4 ternary numbers from grid. If (the number of batteries is even) XOR (last digit of serial number (SN) is even) then consider rows as numbers, reading left-to-right. Else, consider columns as numbers, reading top-to-bottom.
  2. Ternary operators used by the module are listed below. Each operator has an assigned digit. Later in the manual, if it tells you to use operator N, then pick the table with N in brackets. For example, operator 6 is COMPARISON.
AND (0)
LR 0 * 1
0 0 0 0
* 0 * *
1 0 * 1
OR (1)
LR 0 * 1
0 0 * 1
* * * 1
1 1 1 1
NAND (2)
LR 0 * 1
0 1 1 1
* 1 * *
1 1 * 0
NOR (3)
LR 0 * 1
0 1 * 0
* * * 0
1 0 0 0
XAND (4)
LR 0 * 1
0 0 * *
* * * *
1 * * 1
XOR (5)
LR 0 * 1
0 1 * 0
* * * *
1 0 * 1
COMPAR. (6)
LR 0 * 1
0 * 0 0
* 1 * 0
1 1 1 *
GULLIB. (7)
LR 0 * 1
0 0 0 *
* 0 * 1
1 * 1 1
SUM (8)
LR 0 * 1
0 1 0 *
* 0 * 1
1 * 1 0
IMPLIES (9)
LR 0 * 1
0 1 1 1
* 1 1 *
1 1 * 0
  1. Assign the number of batteries to the first ternary number, the number of indicators to the second ternary number, and the number of ports to the third ternary number. Sort ternary numbers by assigned numbers in descending order. In case of a tie, keep the order inside of the tie and put fourth number in the front.
    For example, if there are 2 batteries, 3 indicators and 3 ports, then order will be: 4th, 2nd, 3rd, 1st.
  2. Then you need to find 3 ternary operators. Divide your SN into 3 pairs, then take the last digits of bitwise XORs of each pair, considering A=10, B=11, ..., Z=35. For example, if SN is KT4NE3, then XORs will be:
    K XOR T = 20 XOR 29 = 9,
    4 XOR N = 4 XOR 23 = 19,
    E XOR 3 = 14 XOR 3 = 13.
    Because last digits of XORs are 9, 9 and 3, then first two operators will be IMPLIES, and third one will be NOR.
  3. Let A, B, C, D be your numbers in order from step 3, and let o1, o2, o3 be your operators (in order!). Compute these 4 values:
    • A o1 B,
    • B o2 C,
    • C o3 D,
    • ((A o1 B) o2 C) o3 D.

    Concatenate these 4 results. This is your answer.