Let p1 and p2 be the two prime numbers.
Because they are prime, their divisors are div(p1) = {1,p1} and div(p2) = {1,p2}. So GCD(p1,p2) = Greatest Common Divisor of p1 and p2 =
p1 if p1 equals p2
1 if p1 is different from p2
Chat with our AI personalities
Any two numbers who are relatively prime will workSo look at 9 and 4. Neither is prime and their GCD is 1.You must need two numbers with NO other factors in common.
Two numbers are relatively prime if their greatest common divisor (GCD) is 1. In other words, there is no positive integer greater than 1 that divides both of the numbers. For example, 7 and 12 are relatively prime, but 10 and 15 are not, as their GCD is 5.
Yes because 1 is a factor of any prime number. In fact, 1 is always the gcd (same as gcf) of any two distinct prime numbers.
If you have the gcd or the LCM of two numbers, call them a and b, you can use the relationship that gcd(a,b) = (a multiplied by b) divided by LCM (a,b) where LCM or gcd (a,b) means the LCM or a and b. This means the gcd multiplied by the LCM is the same as the product of two numbers. Let's assume you have neither. There are several ways to do this. One way to approach both problems at once is to factor each number into primes. You can use these prime factorizations to find both the LCM and gcd To compute the Greatest common divisor, list the common prime factors and raise each to the least multiplicities that occurs among the several whole numbers. To compute the least common multiple, list all prime factors and raise each to the greatest multiplicities that occurs among the several whole numbers.
It is impossible for the product of two prime numbers to be prime. It is impossible for the sum of two prime numbers to be prime as long as one of the numbers isn't 2.