A number theory problem by Kushal Bose

Find the number of ordered pairs of ( x , y ) (x,y) , where x , y N 100 x,y \in \mathbb{N} \leq 100 and such that

5 3 x + 3 y \large 5 \mid 3^x+3^y


The answer is 2500.

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
Apr 19, 2017

Since 3 1 3 3^1 \equiv 3 , 3 2 4 3^2 \equiv 4 , 3 3 2 3^3 \equiv 2 , 3 4 1 3^4 \equiv 1 modulo 5 5 , we see that 5 5 divides 3 x + 3 y 3^x + 3^y provided that one of x 0 , y 2 x \equiv0\,,\,y \equiv 2 or x 1 , y 3 x \equiv1\,,\,y \equiv 3 or x 2 , y 0 x \equiv 2\,,\,y \equiv 0 or x 3 , y 1 x \equiv 3\,,\,y \equiv 1 modulo 5 5 occurs. Thus there are 25 25 possible choices of y y for each choice of x x , and hence there are 100 × 25 = 2500 100\times25 = \boxed{2500} ordered pairs.

Tapas Mazumdar
Apr 20, 2017

Note that

3 n { 1 , n = 4 k 3 , n = 4 k + 1 9 , n = 4 k + 2 7 , n = 4 k + 3 ( m o d 10 ) 3^n \equiv \begin{cases} 1, & n=4k \\ 3, & n=4k+1 \\ 9, & n=4k+2 \\ 7, & n=4k+3 \end{cases} \pmod{10}

We observe that

3 4 k + 1 + 3 4 k + 3 0 ( m o d 10 ) 3 4 k + 1 + 3 4 k + 3 0 ( m o d 5 ) 3^{4k+1} + 3^{4k+3} \equiv 0 \pmod{10} \implies 3^{4k+1} + 3^{4k+3} \equiv 0 \pmod{5}

3 4 k + 3 4 k + 2 0 ( m o d 10 ) 3 4 k + 3 4 k + 2 0 ( m o d 5 ) 3^{4k} + 3^{4k+2} \equiv 0 \pmod{10} \implies 3^{4k} + 3^{4k+2} \equiv 0 \pmod{5}

Note: Another condition for x 0 ( m o d 5 ) x \equiv 0 \pmod{5} would be x 5 ( m o d 10 ) x \equiv 5 \pmod{10} . However, such a case wasn't observed above and so it was ruled out.

  • For x = 4 k + 1 x = 4k+1 and y = 4 k + 3 y = 4k+3 we have 25 25 choices for each selection in the given interval. Thus we have ( 25 1 ) ( 25 1 ) = 625 \dbinom{25}{1} \cdot \dbinom{25}{1} = 625 solutions.

  • Similarly, for x = 4 k x = 4k and y = 4 k + 2 y = 4k+2 we have 25 25 choices for each selection in the given interval. Thus we have ( 25 1 ) ( 25 1 ) = 625 \dbinom{25}{1} \cdot \dbinom{25}{1} = 625 solutions.

Also note that if ( a , b ) (a,b) were to be one solution for ( x , y ) (x,y) , then ( b , a ) (b,a) is also a solution. Thus the total number of ordered pairs ( x , y ) (x,y) comes out to be 2 × ( 625 + 625 ) = 2500 2 \times (625+625) = \boxed{2500} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...