Coprime Checker

Check whether two numbers are coprime (GCD = 1).

How It Works

Enter two positive integers. If their GCD is 1, they share no common factors other than 1 and are coprime.

Formula

A and B are coprime if GCD(A, B) = 1.

Frequently Asked Questions

Are consecutive integers always coprime?

Yes. Any two consecutive integers n and n+1 are always coprime because their GCD is always 1.

Can even numbers be coprime?

Two even numbers are never coprime (they share factor 2). But an even and odd number can be coprime, e.g., 4 and 9.