Finite State Machine Vs Finite Math