On the Subject of Text-Fielding The Sphere

I hate this module so much.

Intended for use for those familiar with the Sphere manual.

Terms are identical to those in the Partial Derivatives manual. The next page also lists the symbols and their counterparts.

Part 1: The Calculations

Use each of the Serial Number’s characters, converting letters to their alphabetical equivalents modulo 10, as each of the tap digits in order: T 1; T 2; T 3; T 4; T 5; T 6

Use the table to calculate the Digit for each of the colours that flashed, in order H 1; H 2; H 3; H 4; H 5

ColourCalculationDigit
Red((DVI + UI)^2 % 10) + 1result
Bluefloor((B + PAR + LI)^3 / 10) % 100 -> 5
GreenDigital root of tap numbersresult
Orange(BH + PP + 7) * (RJ + PAR + UI + 3)((Sum of digits) % 10) + 1
Pink(abs(LI^2 - B^2) % 10) + 1result
Purplefloor((P + PP + UI + BH)^3 / 100) % 100 -> 7
Grey(PP^2 + B^3 - 1) % 9 + 1result
White((B + LI + 13) * (P + I + PP + 9) - 1) % 9 + 1result
BBatteriesUIUnlit indicators
BHBattery holdersPPorts
DBD batteriesPPPort Plates
IIndicatorsLILit indicators
DVI/RCA/SER/PAR/RJ# of respective port type

Part 2: The Order

Order: ((LI + BH + SER + RJ) * (UI + PP + DB + RCA)) % 10

If 2 AA, 1 SER, unlit FRQ, 3 PP, use order 10

#Order
0T 4; T 1; H 5; T 2; H 3; H 1; T 6; T 3; H 2; H 4; T 5
1H 3; T 2; T 6; T 1; H 2; H 5; T 3; T 4; T 5; H 1; H 4
2H 5; H 1; T 3; T 4; H 3; T 6; T 1; H 2; H 4; T 5; T 2
3T 1; H 2; T 3; H 5; T 6; H 4; H 1; T 2; T 4; T 5; H 3
4H 1; T 5; T 3; H 4; H 2; T 6; T 1; T 2; T 4; H 3; H 5
5T 2; T 4; H 5; H 1; T 3; T 1; H 2; H 3; H 4; T 5; T 6
6T 6; H 3; T 2; H 1; T 5; T 4; H 4; H 2; T 3; T 1; H 5
7H 4; H 1; H 3; T 2; T 6; H 5; H 2; T 4; T 3; T 5; T 1
8T 4; T 6; H 3; T 1; T 2; H 5; H 1; T 3; H 2; T 5; H 4
9H 2; T 2; H 3; T 6; H 1; T 5; T 4; H 4; H 5; T 1; T 3
10T 1; H 1; T 2; H 2; T 3; H 3; T 4; H 4; T 5; H 5; T 6