Using a MC14018, a clock input 1 was divided by 10 using the feedback method for the 4018.The Q5 and input pins were tied and sent to output A. Load and reset were grounded.

A second clock input 2 was sent to the NAND gate alongside the output from the above section. This output was sent to B and also to an inverter to provide an AND function, which was output at C.

Division by 10 was used because of the frequency of the clock; any other division under ten is possible. For odd division, two diodes can be used with a pull up resistor to MML an AND gate.