Co-Prime Enemy Pair

Limits: 2s, 512 MB

Two integers A and B are known as co-prime or relatively prime if their greatest common divisor GCD (A, B) is equal to 1.


This is a companion discussion topic for the original entry at https://toph.co/p/co-prime-enemy-pair