You can put this solution on YOUR website!
What you are looking for are two numbers, p and q, such that
. Actually, even though the problem doesn't say so, you are looking for integer values for p and q.
So what are the factors of 15? There are only two sets of integers p and q that satisfy
, and those two sets are 1, 15 and 3, 5.
How do we know? Start dividing the number you want to factor by the prime numbers starting at 2 until you go past the square root of the number you want to factor. In this case, the square root of 15 is less than 4, so we know that, at most, we will have to divide 15 by 2, 3, and 5.
, Not an integer, so 2 is NOT a factor.
, so 3 and 5 are prime factors of 15.
We can see what will happen when we divide by 5 so we can skip that step. And we know that any number has itself and 1 as factors, so that completes the proof that the factors are:
1 and 15, or
3 and 5
Of those two sets of factors, only one set satisfies the second condition, that the difference be 2, and that is 3, 5.
Ok, your turn. Find the two factors of 21 with a difference of 4.