Divisibility Principles?

S = ( 7 p 2 p ) ( 7 q 2 q ) p q \large{ S = \dfrac{(7^p - 2^p)(7^q - 2^q)}{pq} }

Find all ordered pairs of primes ( p , q ) (p,q) where p q p \leq q , such that S S is an integer.

If the set of all such primes are { ( p 1 , q 1 ) , ( p 2 , q 2 ) , , ( p n , q n ) } \{ (p_1, q_1) \ , \ (p_2, q_2) \ ,\ \ldots \ , \ (p_n, q_n) \} , then find the value of:

i = 1 n ( p i + q i ) = ? \large{\sum_{i=1}^n (p_i + q_i) = \ ? }


The answer is 92.

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.

1 solution

Patrick Corn
Sep 9, 2015

First note that p ( 7 p 2 p ) p | (7^p - 2^p) implies 7 p 2 p 7^p \equiv 2^p mod p p , but this means 7 2 7 \equiv 2 , i.e. p = 5 p = 5 .

So we will first assume that p , q 5 p,q \ne 5 . In this case we must have q ( 7 p 2 p ) q | (7^p - 2^p) and p ( 7 q 2 q ) p | (7^q-2^q) . Now we have a lemma: if a a and b b are distinct mod p p , and k k is relatively prime to p 1 p-1 , then a k a^k and b k b^k are distinct mod p p also. Proof: we can find \ell such that k 1 k\ell \equiv 1 mod p 1 p-1 ; then a k b k a^k \equiv b^k implies a k b k a^{k\ell} \equiv b^{k\ell} so a b a \equiv b .

By the lemma, since 7 7 and 2 2 are distinct mod p p , we must have that q q and p 1 p-1 are not relatively prime. But this means q ( p 1 ) q|(p-1) , but this is impossible since p q p \le q .

So at least one of p p and q q is 5 5 . In fact it's easy to check directly that ( 2 , 5 ) , ( 3 , 5 ) (2,5), (3,5) are not solutions, so we can assume that p = 5 p = 5 and q 5 q \ge 5 . In this case we get q 7 5 2 5 q | 7^5-2^5 , and 7 5 2 5 = 5 2 11 61 7^5-2^5 = 5^2 \cdot 11 \cdot 61 , so there are three solutions: ( 5 , 5 ) , ( 5 , 11 ) , ( 5 , 61 ) (5,5), (5,11), (5,61) . The sum is 92 \fbox{92} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...