Here I present a way to double and halve a digital frequency using digital components and some passive units (capacitor, resistor).
The original clock frequency is 1kHz;
The Flipflop halves the frequency of its input.
The XOR doubles the frequency of its input.