A switch-tail counter (also called twisted ring counter, Johnsoncounter) uses the complement of he serial output of a right shiftregister as its serial input.
a) Starting from an initial state of 000, list the sequence of the states after each shift until the register returns to 000.
b) Beginning in state 00...0, how many states are there in thecount sequence of an n-bit switch-tail counter?