areCoprime

fun areCoprime(first: Long, second: Long): Boolean

Two numbers are co-prime when the GCD of the numbers is 1. This method uses an algorithm called the Euclidean algorithm to compute GCD.