Find the last three digits
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"
- nishat protyasha
- Posts:33
- Joined:Tue Sep 17, 2013 12:02 am
- Location:Sylhet, Bangladesh.
Re: Find the last three digits
$$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}$$
$$7^{100}\equiv1\pmod{125} \Rightarrow 7^{10000}\equiv1\pmod{125} $$.
$$7\cdot 7^{9999}\equiv1 \pmod{1000}\Rightarrow7^{9999}\equiv143\pmod{1000}$$
Re: Find the last three digits
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.nishat protyasha wrote:$$7^4 \equiv 1 \pmod 8 \Rightarrow 7^{10000}\equiv1\pmod8 $$.
One one thing is neutral in the universe, that is $0$.
-
- Posts:107
- Joined:Sun Dec 12, 2010 10:46 am
Re: Find the last three digits
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
http://en.wikipedia.org/wiki/Carmichael_function