S = p q ( 7 p − 2 p ) ( 7 q − 2 q )
Find all ordered pairs of primes ( p , q ) where p ≤ q , such that S is an integer.
If the set of all such primes are { ( p 1 , q 1 ) , ( p 2 , q 2 ) , … , ( p n , q n ) } , then find the value of:
i = 1 ∑ n ( p i + q i ) = ?
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.
Problem Loading...
Note Loading...
Set Loading...
First note that p ∣ ( 7 p − 2 p ) implies 7 p ≡ 2 p mod p , but this means 7 ≡ 2 , i.e. p = 5 .
So we will first assume that p , q = 5 . In this case we must have q ∣ ( 7 p − 2 p ) and p ∣ ( 7 q − 2 q ) . Now we have a lemma: if a and b are distinct mod p , and k is relatively prime to p − 1 , then a k and b k are distinct mod p also. Proof: we can find ℓ such that k ℓ ≡ 1 mod p − 1 ; then a k ≡ b k implies a k ℓ ≡ b k ℓ so a ≡ b .
By the lemma, since 7 and 2 are distinct mod p , we must have that q and p − 1 are not relatively prime. But this means q ∣ ( p − 1 ) , but this is impossible since p ≤ q .
So at least one of p and q is 5 . In fact it's easy to check directly that ( 2 , 5 ) , ( 3 , 5 ) are not solutions, so we can assume that p = 5 and q ≥ 5 . In this case we get q ∣ 7 5 − 2 5 , and 7 5 − 2 5 = 5 2 ⋅ 1 1 ⋅ 6 1 , so there are three solutions: ( 5 , 5 ) , ( 5 , 1 1 ) , ( 5 , 6 1 ) . The sum is 9 2 .