Delicious

For integers 1 m , n 100 1\leq m,n\leq 100 , what is the number of ordered pairs of ( m , n ) (m,n) such that 7 m + 7 n 7^m + 7^n is divisible by 5?

2000 625 1750 5000 1250 2500 7200

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

Jaleb Jay
Nov 26, 2015

By Fermat's Little Theorem , we find ϕ ( 5 ) = 4 \phi(5)=4 , and we can use 7 k 2 k m o d 5 7^k\equiv 2^k mod 5 . Since 2 is a primative root mod 5, we know 2 1 2 4 k + 1 , 2 2 2 4 k + 2 , 2 3 2 4 k + 3 , 2 4 2 4 k + 4 2^1\equiv 2^{4k+1},2^2\equiv 2^{4k+2},2^3\equiv 2^{4k+3},2^4\equiv 2^{4k+4} for 0 k 24 0\leq k\leq 24 , are all unique. Using this fact we find four sets ( 2 1 ) , ( 2 2 ) , ( 2 3 ) , ( 2 4 ) (2^1),(2^2),(2^3),(2^4) , each with 25 values.

Now, boiled down to 16 cases, we find only four pairs work: ( m , n ) = ( 1 , 3 ) , ( 2 , 4 ) , ( 3 , 1 ) , ( 4 , 2 ) (m,n)=(1,3),(2,4),(3,1),(4,2) .

Counting all possible cases we get (25)(25)(4)=2500.

I got 5000. Doesnt it should be permutation of m and n? I divided them into two sets. First set are seven with power of odd number. I take two number from here. 50 × 50 =2500

Second set are seven with power of even number I also take two number from here 50 × 50 =2500

At last i sum up all with result to 5000 can you help me checking my false?

Jaka Ong - 5 years, 6 months ago

Log in to reply

You can quickly test that not all pairs of odd powers will work as 7 1 + 7 1 = 14 = 2 ( 5 ) + 4 7^1+7^1=14=2(5)+4 . Similarily, for evens 7 2 + 7 2 = 98 = 19 ( 5 ) + 3 7^2+7^2=98=19(5)+3 .

Jaleb Jay - 5 years, 6 months ago

Or using simple logic: ~ 7 x 7^x end with 7, 9, 3, or 1, in unit place for x=1, 2, 3, 4. Then the cycle repeats. So for 0<x<101, there will be 100 4 = 25 \dfrac {100} 4 =25 cycles. So for each of 25 values m can take, n too can take 25 values, total 25 * 25= 625. For a cycle m 1 ( m o d 4 ) , p a i r s w i t h m 3 ( m o d 4 ) m~ \equiv~ 1~ (mod~4),~pairs~with~m~ \equiv~ 3~ (mod~4) to be divisible by 10, so also with 5. So also remaining three members of one cycle of m pair with corresponding member of n. So the total choice for (m,n) is 4 * 625=~~~~ 2500. \Large \color{#D61F06}{2500}.
Note all possible values m can take and n can take has been included, and with in a cycle, there is only one value of m that that pairs with only one value of n. 7 pair with only 3, 9 pair with only 1, 3 pair with only 7, 1 pair with only 9, so as to be divisible by 5.

Niranjan Khanderia - 5 years, 5 months ago

Brother ..7 power(4k+1)+ 7 power(4k+3) will give a number divisible by 5 and I also recognised the fact that 7 power(4k+2) + 7 power(4k) will also give the same .. Where K is a whole number

there are 25 numbers each of the form 4k+1,4k+2,4k+3 & 4k.

working out the possible pairs of odd numbered powers we get 625 (25*25) such pairs. Similarly for even number powers we get another 625. So 1250 is the answer ..

where did I go wrong? .. I am not able to figure out ..

Ganesh Ayyappan - 5 years, 6 months ago

Log in to reply

Don't forget the permutation.. It says the ordered pair

Figel Ilham - 5 years, 6 months ago

Log in to reply

Cud u pls explain my mistake ?? ... Im not able to get wat u mean

Ganesh Ayyappan - 5 years, 6 months ago

Log in to reply

@Ganesh Ayyappan you count ( m , n ) = ( 4 x + 3 , 4 y + 1 ) (m,n) = (4x+3, 4y+1) but not ( 4 y + 1 , 4 x + 3 ) , (4y+1, 4x+3), 1 x , y 25 1 \leq x, y \leq 25 something like that...

Kun Pakawat - 5 years, 6 months ago

Log in to reply

@Kun Pakawat Basicly, the answer is correct, but consider that 7 1 + 7 3 7^1 + 7^3 and 7 3 + 7 1 7^3 + 7^1 are considered different since the first equation is ( m , n ) = ( 1 , 3 ) (m,n) = (1,3) while the second equation is ( m , n ) = ( 3 , 1 ) (m,n) = (3,1)

Consider the question

Figel Ilham - 5 years, 6 months ago

Log in to reply

@Figel Ilham Oh ..i thought both are the same ... So only my answer is half of original answer ... Got it!!!

I did not know about the Fermat little theorem .. By the way .. was my direction of Thinking right for this question??

Ganesh Ayyappan - 5 years, 6 months ago

Log in to reply

@Ganesh Ayyappan You dont really need fermat thm here. Just consider the last digit of 7^x. It loops as 7, 9, 3, 1 then repeat.

Kun Pakawat - 5 years, 6 months ago

Log in to reply

@Kun Pakawat Tat was the way i thought .. 3+7 =5k

1+9=5m

M & k are positive integers

Ganesh Ayyappan - 5 years, 6 months ago

@Ganesh Ayyappan There will be no Fermat's little theorem

Figel Ilham - 5 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...