make sure each prime appears an even number of times