On the Subject of Color Math

So many colors!

  • This module contains 2 rows of LEDs, left (represents the base number) and right (represents adder/subtractor/multiplier/divider and/or answer).
  • Numbers in this module are ranged from 0–9999 inclusive. LEDs are read from the top (Most Significant Digit) to bottom (Least Significant Digit).
  • Use Table 1’s left columns to convert the left side LEDs into the base number.
  • The display in the middle of this module shows the action that needs to be performed: [A]dd / [S]ubtract / [M]ultiply / [D]ivide.
  • If the text in the display is GREEN, use Table 1’s right columns to convert right side LEDs into the adder/subtractor/multiplier/divider.
  • If the text in the display is RED, ignore right side LEDS and then use Table 2 to determine the adder/subtractor/multiplier/divider.
  • Perform the action required and use Table 3 to convert the answer into colors, then input it on right side LEDs. Push SUBMIT to check.

Table 1: LEDs to numbers conversion table

Left LED 1Left LED 2Left LED 3Left LED 4Right LED 1Right LED 2Right LED 3Right LED 4
8051Red9497
5533Orange8731
4475Yellow4049
1118Green6904
6846Blue0255
2997Purple5862
0629Magenta7376
9304White3528
3780Gray1183
7262Black2610

Table 2: Finding ASMD in case of red display

0–1 Batteries 2–3 Batteries 4–5 Batteries 6+ Batteries
1 (MSD) First digit in serial number 0 Number of vowels in serial number DVI-D port counts
2 Number of unlit indicators PS/2 port counts Number of battery holders 5
3 9 Number of letters in serial number Serial port counts Number of consonants in serial number
4 (LSD) RJ-45 port counts Last digit in serial number 4 Number of lit indicators

Table 3: Answer to colors conversion table

LED 1LED 2LED 3LED 4
0GrayBlueMagentaGray
1GreenGreenYellowBlue
2OrangeBlackBluePurple
3WhitePurpleGrayRed
4PurpleMagentaRedYellow
5BlueRedBlackMagenta
6MagentaGrayGreenBlack
7BlackYellowPurpleOrange
8YellowOrangeOrangeGreen
9RedWhiteWhiteWhite
  • Note: On the subtraction, if the answer is negative, answer as positive.
  • Note: On the division, if the answer contains remainder, ignore the remainder.
  • Note: If the answer exceeded 9999, please divide the answer with 10000 and answer with the remainder. (Or in short, modulo it with 10000.)