Hi, if we have a set of positive integers then how can one find the largest positive integer say M such that we get same result on taking modulus operation of each integer in the set with M? E.g if the given set is 12,16,18,22 then then M would be 2 , as 12%2 == 16%2 == 18%2==22%2 . Do we need to find the LCM of the numbers in set ? Thanks.