0

I stumbled across this problem here. In the answer given by the user Gone, I don't see how he makes use of the second line in the last line. Could someone explain why he calculated $9^{10}$ via binomial theorem and where it is applied?

2 Answers2

0

The idea is that he wanted to calculate a value of $N$ such that $9^N \equiv 1 \pmod{100}$. (He determined that $N = 10$ would work.)

Once we found such an $N$, in order to calculate $9^M \pmod{100}$, we merely need to look at $M \pmod{N}$, and then we know that

$9 ^ M \equiv 9^{M \pmod{N}} \pmod{100}$.

In particular, this gives us that

$$9^{9^9} \equiv 9^{ 9 ^ 9 \pmod{10} } \pmod{100}.$$

As to how it is proven, you can read the answer by anon (to the original question).

Calvin Lin
  • 68,864
  • Why do you refer to anon's answer for "how it is used"? Anon's answer is a solution using Euler's totient function (the final step of the OP's method), but Gone's answer avoids that, using only the binomial theorem and modular arithmetic. – Key Ideas Jun 10 '13 at 22:29
  • @KeyIdeas Indeed. Anon shows how to do the calculation, while I was explaining how gone used it. updating. – Calvin Lin Jun 11 '13 at 00:12
  • I still don't understand your edit. Both anon and Gone apply a binomial expansion (for different powers). Neither "proves" the binomial theorem - they simply invoke it. I'll add an answer explaining the matter more carefully. – Key Ideas Jun 11 '13 at 04:01
  • @KeyIdeas We're not talking about proving the binomial theorem, but proving that $9 ^10 \equiv 1 \pmod{100}$. – Calvin Lin Jun 11 '13 at 04:12
  • Read closer, Gone proves it using the binomial formula just like anon does for $,9^9,$ (though Gone doesn't explicitly write out the binomial coefs as does anon). – Key Ideas Jun 11 '13 at 04:22
  • @KeyIdeas OP's question was about where is it applied, and why it was important. My answer above deals with it, by explaining "the idea is that he wanted to calculate a value of $N$ such that ..." Anon provides a slightly clearer proof that $N=10$ by the Binomial Theorem. – Calvin Lin Jun 11 '13 at 04:30
  • Still you are not reading closely. Anon proves $,9^9\equiv 89 \pmod{100},$ but Gone proves $,9^{10}\equiv 1\pmod{100}.,$ Both use the binomial theorem to do so. – Key Ideas Jun 11 '13 at 04:47
-2

The binomial theorem states $$(a + b)^n = \sum_{i = 0}^n \binom{n}{i} a^i b^{n-i}$$ Gone made use of the fact that $ \binom{n}{i}$ is an integer, along with the fact that $10|10^k$ for any $k \geq 1$. So we see that $10| \binom{10}{i}10^i (-1)^{10-i}$ for any $i \geq 1$, and we may reduce the expression

$$9 ^ {10} = (10 - 1)^{10} = \sum_{i = 0}^{10} \binom{10}{i}10^i (-1)^{10-i} = 1 + 10 \cdot 10 \cdot(-1) + 90 \cdot 10^2 + \ldots$$

modulo 10 to see $$9^{10} = 1 + 0 + 0 + \ldots$$

Although, we have an even simpler way... In the same vein,

$$9^{10} = (10-1)^{10} \equiv -1^{10} \equiv 1$$

Without having to do any binomial work.