Find the last three digits

For discussing Olympiad Level Number Theory problems
tanmoy
Posts:312
Joined:Fri Oct 18, 2013 11:56 pm
Location:Rangpur,Bangladesh
Find the last three digits

Unread post by tanmoy » Wed Mar 12, 2014 2:36 pm

What are the last three digits of the number $7^{9999}$ :?:
"Questions we can't answer are far better than answers we can't question"

User avatar
nishat protyasha
Posts:33
Joined:Tue Sep 17, 2013 12:02 am
Location:Sylhet, Bangladesh.

Re: Find the last three digits

Unread post by nishat protyasha » Thu Aug 21, 2014 6:19 am

$$7^4 \equiv 1 \pmod 8 \Rightarrow 7^{10000}\equiv1\pmod8 $$.
$$7^{100}\equiv1\pmod{125} \Rightarrow 7^{10000}\equiv1\pmod{125} $$.
$$7\cdot 7^{9999}\equiv1 \pmod{1000}\Rightarrow7^{9999}\equiv143\pmod{1000}$$

User avatar
Masum
Posts:592
Joined:Tue Dec 07, 2010 1:12 pm
Location:Dhaka,Bangladesh

Re: Find the last three digits

Unread post by Masum » Sun Aug 24, 2014 11:32 am

nishat protyasha wrote:$$7^4 \equiv 1 \pmod 8 \Rightarrow 7^{10000}\equiv1\pmod8 $$.
Note that, also $7^2\equiv1\pmod8$ too. This helps in some cases. I mean, in such cases, try to find the smallest such integer if possible.
One one thing is neutral in the universe, that is $0$.

mutasimmim
Posts:107
Joined:Sun Dec 12, 2010 10:46 am

Re: Find the last three digits

Unread post by mutasimmim » Fri Sep 19, 2014 10:31 am

I may add a little to to Masum vai. Even if you don't want to find the least integer, you can often find a "very" smaller number for composite modules using Carmichael Function.
http://en.wikipedia.org/wiki/Carmichael_function

Post Reply