Design a sequential circuit with output Q. This output needs to output 10100 periodically. The frequency of said circuit doesn't matter.

Used D flip flop: IC: CD40175B quad D-type flip flop. The problem is we don't know how to change the output using only periodic input signals, like clock and D input.

Any help or insights would be greatly appreciated!