Anyone can help me in solving this?

What is the remainder when 5 5555 5^{5555} is divided by 10000?


The answer is 8125.

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.

4 solutions

Kaan Dokmeci
Jun 15, 2014

We wish to find 5 5555 ( m o d 10000 ) 5^{5555} \pmod{10000}

Let 5 5555 A ( m o d 5 4 ) 5^{5555} \equiv A \pmod{5^4} and 5 5555 B ( m o d 2 4 ) 5^{5555} \equiv B \pmod{2^4} It is obvious A = 0 A=0 and note that 5 8 1 ( m o d 2 4 ) 5^8 \equiv 1\pmod{2^4} Thus, B 5 3 13 ( m o d 2 4 ) B\equiv 5^3\equiv 13\pmod{2^4} and B = 13 B=13

Thus, we want to find a number N N less than 10000 10000 that is:

0 ( m o d 625 ) 0\pmod{625}

13 ( m o d 16 ) 13\pmod{16}

Testing all the multiples we eventually find 8125 \boxed{8125}

Let $X$ be $5^5555$ we know that $X \equiv 0 (mod 5^4) \rightarrow X= 5^4 k and $X \equiv (5^4)^1388 \times 5^3 (mod 2^4)$ $X \equiv (1)^1388 \times 125 (mod 2^4)$ $X \equiv 13 (mod 2^4)$ $5^4 k \equiv 13 (mod 2^4)$ $ k \equiv 13 (mod 16)$ $k= 16m +13$ $X= 5^4 \times (16m+13) $ $X= 10000m +8125$ $X \equiv 8125(mod10000)

fransisca andriani - 6 years, 12 months ago

Log in to reply

FYI - To type equations in Latex, you just need to add \ ( \ ) (no spaces) around your math code.

Updated. Thanks @Kaan Dokmeci

Calvin Lin Staff - 6 years, 12 months ago

Log in to reply

(It doesn't appear).

You need to use \ ( \ ) without the spaces in between the \ and (

Ex: \ ( x^2 \ ) x 2 x^2

Kaan Dokmeci - 6 years, 12 months ago

"note that 5 8 1 ( m o d 2 4 ) 5^8 \equiv 1 \pmod {2^4} " you should probably say how that is a result of Euler's totient theorem, or else it looks like you were just fishing for a coincidence and happened to get one.

Euler's totient theorem being that a ϕ ( n ) 1 ( m o d n ) a^{\phi (n)} \equiv 1 \pmod n for those unaware.

Michael Tong - 6 years, 12 months ago
Krishna Ar
Jun 14, 2014

Surely, I will give you a solution.

Analyze the problem using modulo arithmetic. Finding remainder of divison by 10000 is same as finding last 4 digits. Thus we can write 5^5555 as ( 5 6 ) 925 5 5 \left( 5^{6}\right) ^{925} * 5^5 . This expression will give us That 5^5555 is congruent to -1 modulo 5^6 as we just need one more 5 to get an expression divisible by 5^6. Thus answer will be 5^7 mod 1000 as 6-(-1)=7. Thus 8125.

You can also do this using totient. Hope this helped. Please upvote if you liked it

I do not understand what you are trying to say here.

"That 5^5555 is congruent to -1 modulo 5^6 " => But isn't 5^5555 congruent to 0 modulo 5^6?

Where did "thus 8125" come from? Can you explain how you got that number?

How did you use the totient? Can you explain that step?

Calvin Lin Staff - 6 years, 12 months ago

Log in to reply

Yep! I think I messed up in the end! :(

Krishna Ar - 6 years, 12 months ago

@Krishna Ar Can you give me a good resource to understand modulo?

Mardokay Mosazghi - 6 years, 12 months ago

Log in to reply

Sure! Actually for modulo, you don't need anything other than the 5 basic rules! No jokes! Its as simple as that. But lemme tell you, the applications are very diverse. The rules are addition, subtraction, multiplication, divison and exponentiation all hold for modulo. Like if a =b (mod c); a+d=b+d(mod c) and so on. But these can be applied to solve complex problems and this is the essence of number theory. Hey, you said that you learned theorems and then went to WA to look for more. WHere did you first learn them form ( geo). Please upvote my "solution" above if you'd liked it. :). AND, anyway, where did you learn you algebra from? (just asking )

Krishna Ar - 6 years, 12 months ago

Log in to reply

Books and search and learn from AOPS. @Krishna Ar

Mardokay Mosazghi - 6 years, 12 months ago

Log in to reply

@Mardokay Mosazghi Which book @Mardokay Mosazghi . By the way what problem solving strategies do you use?

Krishna Ar - 6 years, 11 months ago

I did it almost the same way but yes without even practically using modulo.

Let's analyze the last 4 digits when 5 is raised to some power:

5^4 = 625

5^5 = 3125

5^6 = 5625

5^7 = 8125

5^8 = 625.....

And hence it repeats itself. Therefore, now it's easy to find 5^5555 mod 10000 as the remainders are repeating after 4 terms(ask me in the comment section if you want to know how).

Kartik Sharma - 6 years, 12 months ago

Log in to reply

Can you prove why it is so? @Kartik Sharma

Krishna Ar - 6 years, 11 months ago

Log in to reply

Its just the series, mere observation, hit and trial. May be this is a property of number 5!!!

Kartik Sharma - 6 years, 11 months ago

Log in to reply

@Kartik Sharma Ah! Wow! -_-

Krishna Ar - 6 years, 11 months ago

Log in to reply

@Krishna Ar You don't seem convinced with that, I think.

BTW, I would recommend you to have a look at my set and become the first to finish it.

Kartik Sharma - 6 years, 11 months ago

Log in to reply

@Kartik Sharma But unfortunately I can't as I already made a mistake in it :(

Krishna Ar - 6 years, 11 months ago

FYI, Latex doesn't like the code a^b^c, because it doesn't know whether it should be ( a b ) c ( a^b)^c or a ( b c ) a^ { ( b^c)} . Adding brackets helps it figure it out and displays it accurately.

Calvin Lin Staff - 6 years, 12 months ago

Log in to reply

Noted with thnx

Krishna Ar - 6 years, 11 months ago
Otto Bretscher
Mar 14, 2016

5 4 = 625 1 ( m o d 16 ) 5^4=625\equiv 1\pmod{16} so 5 5551 = 5 4 × 1387 + 3 5 3 13 ( m o d 16 ) 5^{5551}=5^{4\times 1387+3}\equiv 5^3 \equiv 13\pmod{16} . Multiply through with 5 4 5^4 to find 5 5555 13 × 5 4 = 6125 ( m o d 10000 ) 5^{5555}\equiv 13\times 5^4=\boxed{6125}\pmod{10000} .

Abhishek Abhi
Jun 16, 2014

As 10000 is the divisor the remainder will be a 4-digit number.

So we must know the last four digits of 5 5555 5^{5555} .

5 4 5^{4} is 0625 and repeats itself every 4 times.

Divide 5555 by 4 remainder will be 3 so we can write the above question as ( 5 4 ) 1388 (5^{4})^{1388} * 5 3 5^{3} .

In the first part the last 4 digits will be 0625 as explained and the second part will be 125. On multiplying them the last 4-digits will be 8125.

Basically 5 5 5^{5} last 4 digits is 3125, 5 6 5^{6} last 4 digits is 5625, and 5 7 5^{7} last 4 digits is 8125.

So every time the remainder is 3 (4 mod (the power)) the last four digits will be 8125.

Because 4 mod 7 is 3 and 5 7 5^{7} = 78125 = 5 4 5^{4} * 5 3 5^{3}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...