add self-difference and iteration from product
more concise. merge coprime sampled into single sequence and use product