Compute binary number mod 3 using a Finite State Machine
Result (remainder)
-
mod 3 = 0
mod 3 = 1
mod 3 = 2