Let be the number of ordered pairs where and are odd prime numbers, such that
.
Find the value of .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Rearranging, we have:
p q − p = q p + q
p ( p q − 1 − 1 ) = q ( q p − 1 + 1 )
This means that either p ∣ q or p ∣ q p − 1 + 1
However, it is easily seen that if p ∣ q , then p = q , which would yield
0 = 2 p or p = q = 0
then, we have p ∣ q p − 1 + 1 . Since g c d ( p , q ) = 1 , then by using Fermat's Little Theorem, we have:
q p − 1 ≡ 1 m o d p
q p − 1 + 1 ≡ 2 m o d p , hence
2 ≡ 0 m o d p , therefore p = 2
however, 2 is not an odd prime, so we're left with the conclusion that there are no odd primes that satisfy the given condition.
Therefore a = 0 , giving us the value of 2 7 .