The Power of All Powers

{ 5 a b ( m o d 7 ) 3 b c ( m o d 5 ) 2 c d ( m o d 3 ) 7 a b c d 7 ( m o d 11 ) \large{\begin{cases} 5^a &\equiv& b \pmod 7 \\ 3^b &\equiv& c \pmod 5 \\ 2^c &\equiv& d \pmod 3 \\ 7^{abcd} &\equiv& 7 \pmod{11} \end{cases} }

Given that a , b , c , d a,b,c,d are positive integers larger than 1 that satisfy all the congruences above, what is the least possible value of a × b × c × d a\times b\times c\times d ?


The answer is 2541.

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.

2 solutions

Mark Hennings
Dec 2, 2015

Since 7 a b c d 7 7^{abcd} \equiv 7 modulo 11, it follows that a b c d 1 abcd \equiv 1 modulo 10. Thus a , b , c , d a,b,c,d are all odd, and not multiples of 5 5 . Since c c is odd, d 2 c 2 d \equiv 2^c \equiv 2 modulo 3. Since d d is odd, this means that d 5 d \equiv 5 modulo 6.

Since b b is odd and 3 2 1 3^2 \equiv -1 modulo 5, we see that c 3 b ± 3 c \equiv 3^b \equiv \pm 3 modulo 5. Since c c is odd, this implies that c 3 , 7 c \equiv 3,7 modulo 10. If c 3 c \equiv 3 modulo 10, then 3 b c 3 3^b \equiv c \equiv 3 modulo 5, and hence b 1 b \equiv 1 modulo 4. If c 7 c \equiv 7 modulo 10, then 3 b c 2 3^b \equiv c \equiv 2 modulo 5, and hence b 3 b \equiv 3 modulo 4.

Thus d 5 d \equiv 5 modulo 6 and either c 3 c \equiv 3 modulo 10 and b 1 b \equiv 1 modulo 4, or else c 7 c \equiv 7 modulo 10 and b 3 b \equiv 3 modulo 4.

Trying d = 11 d=11 , c = 7 c=7 , we quickly obtain b = 3 b=3 and a = 11 a = 11 as one particular solution. Let us try to find a solution with a product smaller than 11 × 3 × 7 × 11 = 2541 11 \times 3 \times 7 \times 11 = 2541 .

If we look for solutions with d = 11 d=11 , then a , b , c a,b,c must be odd numbers greater than 1 1 and not equal to 5 5 whose product is less than 231 231 . Since 7 3 = 343 7^3 = 343 , at least one of these numbers must be equal to 3 3 . The only possible choice of numbers containing just a single 3 3 is 3 , 7 , 7 3,7,7 . This option is no good, since their product is not congruent to 1 1 modulo 10 10 (and a b c 11 a b c a b c d 1 abc \equiv 11abc \equiv abcd \equiv 1 modulo 10). Thus a , b , c a,b,c must consist of two 3 3 s and an odd number congruent to 9 9 modulo 10. The only possibilities are 3 , 3 , 9 3,3,9 and 3 , 3 , 19 3,3,19 . Since 5 3 6 5^3 \equiv 6 modulo 7 and none of 3 , 9 , 19 3,9,19 are congruent to 6 6 modulo 7, a a must be either 9 9 or 19 19 , which would require b = c = 3 b=c=3 . This is impossible, since 3 3 ≢ 3 3^3 \not\equiv 3 modulo 5. We can obtain no product a b c d abcd less than 2541 2541 with d = 11 d=11 .

If we look for solutions with d > 11 d > 11 , then d 17 d \ge 17 and hence a b c < 149 abc < 149 . Thus a , b , c a,b,c must include at least one 3 3 (as above), and the only combination with just one 3 3 is 3 , 7 , 7 3,7,7 . Since 5 3 6 ≢ 7 5^3 \equiv 6 \not\equiv 7 modulo 7 and 5 7 5 ≢ 3 , 7 5^7 \equiv 5 \not\equiv 3,7 modulo 7, this combination is not possible. Thus the collection a , b , c a,b,c must contain at least two 3 3 s, and so must be 3 , 3 , k 3,3,k where k k is one of the odd numbers 3 , 7 , 9 , 11 , 13 3,7,9,11,13 . Since 3 3 ≢ 3 3^3 \not\equiv 3 modulo 5, we cannot have b = c = 3 b=c=3 . Thus we must have a = 3 a=3 , and hence b 5 a 6 b \equiv 5^a \equiv 6 modulo 7, so we must have b = 13 b=13 . With a = 3 a=3 , b = 13 b=13 and c = 3 c=3 , we must have d 21 d \le 21 and hence d = 17 d = 17 . But 3 × 13 × 3 × 17 ≢ 1 3\times13\times3\times17 \not\equiv1 modulo 10 10 .

There are no solutions with a smaller product than 2541 2541 .

Nice approach! I'm more like a hand-on guy, so I tend to explore all possibilities. Lol...

Worranat Pakornrat - 5 years, 6 months ago

According to Fermat's little theorem, if n is not divisible by prime p, then n p n^p n n (mod p p )

or n p 1 n^{p-1} 1 1 (mod p p ).

From the last constraint, 7 a b c d 7^{abcd} ≡ 7 (mod 11); 7 a b c d 1 7^{abcd-1} ≡ 1 (mod 11).

That means a b c d 1 abcd-1 is a multiple of p-1 = 11-1 =10, for n 10 n^{10} 1 1 (mod 11 11 ). In other words, the product a b c d abcd must end with a digit 1 as 1 is a remainder of the divisor 10. Furthermore, we can conclude that a a , b b , c c , d d must be odd integers that do not end with 5 as 5 only results in a product ending with 5.

Now let's consider 2 c 2^c d d (mod 3). Clearly, d d ≡ 1 or 2 (mod 3) because the power of 2 can never be divided by 3. However, if d d ≡ 1 (mod 3), then

2 c 2^c ≡ 1 (mod 3), which again correlates with the formula n p 1 n^{p-1} 1 1 (mod p p ).

Hence, c is a multiple of p-1 = 3-1 = 2, which is contradicted because c c must be odd.

Thus, d 2 ( m o d 3 ) \boxed{d\ ≡ 2 (mod\ 3)} . Then 2 c 2^c ≡ 2 (mod 3); 2 c 1 2^{c-1} ≡ 1 (mod 3); c-1 ≡ 0 (mod 2); c 1 ( m o d 2 ) \boxed{c\ ≡ 1 (mod\ 2)} .

Then c c can have a remainder of 1, 2, 3, or 4 when divided by 5. However, if c ≡ 1 (mod 5), then

3 b 3^b ≡ 1 (mod 5); b ≡ 0 (mod 4), which is even and so contradicted.

Also, if c ≡ 4 (mod 5), then 3 b 3^b ≡ 4 (mod 5); 3 6 3^6 ≡ 4 (mod 5); 3 b 6 3^{b-6} ≡ 1 (mod 5); b - 6 = 0 (mod 4), which is even and contradicted.

Now if c = 2 (mod 5), then 3 b 3^b ≡ 2 (mod 5); 3 3 3^3 ≡ 2 (mod 5); 3 b 3 3^{b-3} ≡ 1 (mod 5); b-3 ≡ 0 (mod 4) or b b ≡ 3 (mod 4).

And if c = 3 (mod 5), then 3 b 3^b ≡ 3 (mod 5); 3 b 1 3^{b-1} ≡ 1 (mod 5); b-1 ≡ 0 (mod 4) or b b ≡ 1 (mod 4).

Thus, c 2 ( m o d 5 ) \boxed{c\ ≡ 2 (mod\ 5)} or c 3 ( m o d 5 ) \boxed{c\ ≡ 3 (mod\ 5)} .

So now we have 2 possible remainders for c c . We will move on to possibility of b b .

Similarly, b b can have a remainder of 1, 2, 3, 4, 5, or 6 when divided by 7. However, if b ≡ 1 (mod 7), then

5 a 5^a ≡ 1 (mod 7); a ≡ 0 (mod 6), which is even and contradicted.

If b ≡ 2 (mod 7), then 5 a 5^a ≡ 2 (mod 5); 5 4 5^4 ≡ 2 (mod 7); 5 a 4 5^{a-4} ≡ 1 (mod 7); a-4 ≡ 0 (mod 6), which is even and contradicted.

If b ≡ 4 (mod 7), then 5 a 5^a ≡ 4 (mod 7); 5 2 5^2 ≡ 4 (mod 7); 5 a 2 5^{a-2} ≡ 1 (mod 7); a-2 ≡ 0 (mod 6), which is even and contradicted.

If b ≡ 3 (mod 7), then 5 a 5^a ≡ 3 (mod 7); 5 5 5^5 ≡ 3 (mod 7); 5 a 5 5^{a-5} ≡ 1 (mod 7); a-5 ≡ 0 (mod 6); a ≡ 5 (mod 6).

If b ≡ 5 (mod 7), then 5 a 5^a ≡ 5 (mod 7); 5 a 1 5^{a-1} ≡ 1 (mod 7); a-1 ≡ 0 (mod 6); a ≡ 1 (mod 6).

If b ≡ 6 (mod 7), then 5 a 5^a ≡ 6 (mod 7); 5 3 5^3 ≡ 6 (mod 7); 5 a 3 5^{a-3} ≡ 1 (mod 7); a-3 ≡ 0 (mod 6); a ≡ 3 (mod 6).

Thus, b 3 ( m o d 7 ) \boxed{b\ ≡ 3 (mod\ 7)} & a 5 ( m o d 6 ) \boxed{a\ ≡ 5 (mod\ 6)} ; or b 5 ( m o d 7 ) \boxed{b\ ≡ 5 (mod\ 7)} & a 1 ( m o d 6 ) \boxed{a\ ≡ 1 (mod\ 6)} ; or b 6 ( m o d 7 ) \boxed{b\ ≡ 6 (mod\ 7)} & a 3 ( m o d 6 ) \boxed{a\ ≡ 3 (mod\ 6)} .

Finally, we have 3 possible remainders of modulus 7 of b, which will lead to a specific modulus of a a , and when combined with c possibility, we will get 6 possible cases:

Case 1 : d d ≡ 2 (mod 3); c c ≡ 2 (mod 5) ≡ 1 (mod 2); b b ≡ 3 (mod 4) ≡ 3 (mod 7); a a ≡ 5 (mod 6)

Obviously, the least value of possible d d = 11 as 5 can't be used. Then c c = 7. b b = 3, and a a = 11. (Note that the product must end with digit 1) Thus, a b c d abcd in this case equals to 2541.

Case 2 : d d ≡ 2 (mod 3); c c ≡ 2 (mod 5) ≡ 1 (mod 2); b b ≡ 3 (mod 4) ≡ 5 (mod 7); a a ≡ 1 (mod 6)

Again, the least value of possible d d = 11 as 5 can't be used. Then c c = 7. b b = 19, and a a = 7. The least product in this case = 10241.

Case 3 : d d ≡ 2 (mod 3); c c ≡ 2 (mod 5) ≡ 1 (mod 2); b b ≡ 3 (mod 4) ≡ 6 (mod 7); a a ≡ 3 (mod 6)

Again, the least value of possible d d = 11 as 5 can't be used. Then c c = 7. b b = 27, and a a = 9. The least product in this case = 18711.

Case 4 : d d ≡ 2 (mod 3); c c ≡ 3 (mod 5) ≡ 1 (mod 2); b b ≡ 1 (mod 4) ≡ 3 (mod 7); a a ≡ 5 (mod 6)

Again, the least value of possible d d = 11 as 5 can't be used. Then c c = 3. b b = 17, and a a = 11. The least product in this case = 6171.

Case 5 : d d ≡ 2 (mod 3); c c ≡ 3 (mod 5) ≡ 1 (mod 2); b b ≡ 1 (mod 4) ≡ 5 (mod 7); a a ≡ 1 (mod 6)

Again, the least value of possible d d = 17 as 5 can't be used. Then c c = 3. b b = 33, and a a = 7. The least product in this case = 11781.

Case 6 : d d ≡ 2 (mod 3); c c ≡ 3 (mod 5) ≡ 1 (mod 2); b b ≡ 1 (mod 4) ≡ 6 (mod 7); a a ≡ 3 (mod 6)

Again, the least value of possible d d = 11 as 5 can't be used. Then c c = 3. b b = 13, and a a = 9. The least product in this case = 3861.

As a result, case 1 results in the least product with values of d = 11 \boxed{d\ = 11} ; c = 7 \boxed{c\ = 7} ; b = 3 \boxed{b\ = 3} ; a = 11 \boxed{a\ = 11} ; and product of 2541 \boxed{2541} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...