Description Usage Arguments Value References Examples
Two integers a and b are said to be relatively prime (also called relatively prime) if they share no positive divisors except 1.
1 | iscoprime(a, b)
|
a |
First integer |
b |
Second integer |
TRUE if given integers are coprime, FALSE otherwise
Cormen, T., Leiserson, C., Rivest, R., & Stein, C. (2009). Introduction to algorithms (3rd ed., pp. 931). Cambridge (Inglaterra): Mit Press. Weisstein, Eric W. "Relatively Prime." From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/RelativelyPrime.html
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.