Pairs whose sum is divisible by a given number


This is a companion discussion topic for the original entry at http://iq.opengenus.org/pairs-with-sum-divisible-by-a-number/