A Modulo-N Counter (N > 0) has one input terminal a and two output terminals p and q. Input and output signals alternate, starting with input. The behavior repeats after every N input/output pairs. In each period, the first N-1 inputs are followed by output p, and the last input is followed by output q.