Source: Wikipedia
A sequential network has one input and one output. The output becomes 1 and remains 1 thereafter when at least two 0's and two 1's have occurred as inputs. A Moore machine with nine states for the above description is shown below (source: Wikipedia). The initial state is state A.