Introduction - If you have any usage issues, please Google them yourself
Logisim is used to build the circuit. The circuit serially inputs a binary unsigned number B (first from the high bit input, each input number is equivalent to the previous input number moved one bit to the left plus the current input number), outputs the remainder of modulo 5 of "2 B power" and submits it.