coprime?
Ali Hamdi Ali Fadel · @AliOsm · about 3 years
Return true if two number are relatively prime (co-prime), false otherwise.
def coprime?(a, b) a.gcd(b) == 1 end