3

May I know if my proof is correct? Thank you.

This is equivalent to finding $x$ such that $777^{777} \equiv x \pmod{100}.$

By Euler's theorem, $777^{\ \psi(100)} =777^{\ 40}\equiv 1 \pmod{100}$.

It follows that $777^{760} \equiv 1 \pmod{100}$ and $777^{\ 17} \equiv x \pmod{100}.$

By Binomial expansion, $777^{\ 17} = 77^{\ 17}+700m$, for some positive integer $m$.

Hence $77^{17} \equiv x \pmod{100} \Longleftrightarrow \ x= 97$.

  • 97 is fine. You're correct. – Felix Marin Dec 31 '13 at 08:21
  • 2
    Where is the $97$ coming from? It's correct, certainly, but it looks like you've obtained $77$ as your answer by this reasoning. – Cameron Buie Dec 31 '13 at 13:30
  • The line "$777^{17} = 77+700m$ for some integer $m$" is wrong. It should be "$777^{17} = 77^{17}+700m$ for some integer $m$". (And you could have avoided this argument by working in $\Bbb Z/100\Bbb Z$ right from the start.) – Marc van Leeuwen Dec 31 '13 at 15:24

2 Answers2

4

Another way : As $\displaystyle777\equiv77\pmod{100}$

and as Carmichael function $\displaystyle\lambda(100)=20$ with $777\equiv17\pmod{20}$ and $\displaystyle(777,100)=1$

$\displaystyle777^{777}\equiv77^{17}\pmod{100}$

Now using Binomial Theorem $\displaystyle77^{17}=(70+7)^{17}\equiv7^{17}+\binom{17}17^{16}\cdot70\pmod{100}$

Again observe that $7^2=49=50-1$ $\displaystyle\implies 7^4=(50-1)^2=50^2-2\cdot50\cdot1+1^2\equiv1\pmod{100}$

As $\displaystyle4|16$ and $\displaystyle17\equiv1\pmod4; 7^{16}\equiv1\pmod{100},7^{17}\equiv7\pmod{100}$

I leave the rest for you complete

2

Yep! Your proof is correct. I particularly like your use of the binomial expansion to make the terms easier to deal with.

sredmond
  • 238