You are viewing a single comment's thread. Return to all comments →
What if LCM(A) = GCD(B)+1 ? or GCD(B) - LCM(A) <<<< LCM(A) ?
Also, step 3 seems to suggest that I must use brute force. Is that the best I can do? Or do we have a faster way to do that?
(Just curious)
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
What if LCM(A) = GCD(B)+1 ? or GCD(B) - LCM(A) <<<< LCM(A) ?
Also, step 3 seems to suggest that I must use brute force. Is that the best I can do? Or do we have a faster way to do that?
(Just curious)