Check whether two whole numbers are relatively prime by finding their greatest common divisor.
Last updated: June 2026 | By Patchworkr Team
Two numbers are relatively prime when their greatest common divisor is 1. That means they share no positive factor other than 1.
The numbers 8 and 15 are relatively prime because gcd(8, 15) = 1.
Yes. Only the absolute values matter when checking the gcd.
Yes, because gcd(1, n) = 1 for any integer n.
No. The gcd is the same either way.
No. It is designed for whole-number inputs only.
Related Tools