Co-Prime Calculator

This relatively prime calculator will generate the co prime numbers based on user inputs.

What is Coprime Number ?

A Co-prime number is a set of numbers or integers which have only 1 as their common factor.

That is.. their highest common factor (HCF) will be 1. Co-prime numbers are also known as relatively prime or mutually prime numbers.

Example : 21 and 22

The factors of 21 are 1, 3, 7, and 21.

The factors of 22 are 1, 2, 11, and 22.

21 and 22 have only one common factor that is 1.

Therefore, their HCF is 1 and are co-prime.