Design a sequential circuit that produces an output of 1 after it has received an input sequence 1101 or 011. Derive the design equations for the circuit assuming D flip- flops as memory elements. Use the principle of partitioning for generating the state assignments.