IsCoprime
Tests whether the arguments are pairwise relatively prime.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
CoprimeQ✓IsCoprime(a, b, …)true when every pair of arguments is coprimeTyped signatures
| Type | Package | Applies |
|---|---|---|
(number+) -> boolean | number-theory | always |
Details
- Pairwise, not collectively: of the whole set being 1 is not enough — every pair must itself be coprime.
- Extends to Gaussian integers, over the same GCD this widens.
- Wolfram's
CoprimeQ.
Examples
Scope #
Applications #
Properties #
About
| Examples | 21 |
|---|---|
| Checked against | Wolfram Language 21 agree |
| Crosswalk | Wolfram Language |