On the Subject of De-Reading About Deceptive Rainbow Arrows

And here’s algebra.

For those familiar with the original manual.

To query: Press two arrows, then the display.
To submit: Press the display, two arrows, then the display.

The First Query

Create 3 pairs from the serial number (12 34 56). Take the sum of each pair (letters A1Z26) and modulo by 8 to obtain 3 values Z Y X.
If there is an even amount of batteries, query YX. Otherwise, query XY.

The Second Query

Convert the flashing sequence into a 6 bit string (starting after display flash), where a regular flash means 0 and an inverted flash (5 arrows flashing at once) means 1.
Convert the first response from octal to binary.

Bin000001010011100101110111
Oct01234567

XOR the strings together. Take positions 2 4 6 to get a triplet and create the second triplet with positions 1 3 5.
Convert them into octal digits, then cross reference the table for a new octal value.
Query using the first query’s table.

ZOctal Digit
01234567
0RKYWOGPB
1YOBGRKWP
2BYKRWPGO
3GRPOKWBY
4PBGKYROW
5KWOBPYRG
6WGRPBOYK
7OPWYGBKR
_0_1_2_3_4_5_6_7
0_3602707457322422
1_4030061764345147
2_6353455410616041
3_6707004204564665
4_1662772631126625
5_5552111427053576
6_1550372344334373
7_7572032120137101

The Third Query

  1. Start in the position of the second response in direction of the white arrow.
  1. Let I = 0, P be an empty list, and M the rotation from the white arrow to the arrow matching display flash color.
  2. While I < 4, do these steps:
    1. Let E = the sum of values in first I+1 cells in current direction (starting with current cell).
    2. Move forward I+1 steps.
    3. Append E modulo 8 to P.
    4. Rotate using M.
    5. Add 1 to I.
_0_1_2_3_4_5_6_7
0_01735426
1_13047652
2_34160275
3_46321507
4_62453710
5_25674031
6_57206143
7_70512364
  1. XOR first two digits of P, and last two digits of P to get a 2-digit octal value.
  2. Cross reference second query’s table, then query using first query’s table.

The Submission

Ignoring modded ports, examine the most frequently occurring present ports. If this list is empty or has at least 4 port types, omit the 1st, 3rd, and 5th flashes. Otherwise, omit the flashes corresponding to the port types in this table.

Port TypeParallelSerialPS/2RJ-45Stereo RCADVI-D
Position To Omit2nd6th3rd4th5th1st

Find and calculate the equations of the remaining flashes in corresponding order.
Keep the values within 0 to 0o77 (or 63) by adding or subtracting 0o100 (or 64).
Round down upon division.

Use the final calculated result (in octal) to cross reference the second query’s table. Submit using the first query’s table.

  • x is the previous calculated value, initially the display value (in octal).
  • Ar is the (r + 1)th response.
  • n is the number of flash, with 1st flash being 0.
  • ∑A is the sum of the three responses.
  • min(A) is the smallest response value.
  • max(A) is the biggest response value.
ColorEquationInverted
Redx + A0x - A0
Orangex - A1x + A1
YellowA2 - x + 1 - 2n
Greenx + ∑A / 3x - ∑A / 3
Bluex - min(A) - 2 * nx + min(A) + 2 * n
Purple- max(A) - x