Set your weapon's frequency to a non-trivial prime number of your target's shield frequency, and fire