A Johnson counter uses the complement of the serial output of aright shift register as its serial input.
a) Starting from an initial count of 0000, list the countingsequence after each shift until the count returns to 0000
b) Beginning with an initial count of 00..0, what is the length ofthe count sequence of an n-bit Johnson counter?Explain.