This document describes a project to design a sequential circuit to calculate the remainder (modulo-3) of an n-bit number A. The circuit uses a divide-and-conquer approach with multiple finite state machines (FSMs) running in parallel. A 128-bit shift register sequentially feeds bits to the FSMs. A 7-bit counter generates signals to stop the FSMs after processing all bits. The FSM outputs are combined using additional logic to produce the final remainder. The design aims to calculate the remainder in n/4 clock cycles, faster than the n cycles of a single FSM.