Please help me to find out an error.
Case 1 : 22225555=35555(mod7)=2431111(mod7)=51111(mod7)=5.51110(mod7)
=5.625370(mod7)=5.2370(mod7)=5.2.2369(mod7)
=10.8123(mod7)=10.1123(mod7)=10(mod7)=3
Case 2: 22225555=35555(mod7)=35.35550(mod7)=35.729925(mod7) =35.1925(mod7)=35(mod7)=5
In the two cases we got different answer. Which is the wrong one? And where is the mistake? Please help me as I am very weak in this area.
Thanks
#HelpMe!
#MathProblem
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Case 1 is wrong. Your mistake is to identify 5×51110 with 5×625370 modulo7. Presumably you are trying to replace 5 by 625=54, but 370=1100÷4.
Case 2 is right.
A much quicker way of getting there is to note that 36=1 modulo 7, and so 22225555=35555=35=243=5 modulo 7. We are using one case of a general result which states that xp−1=1 modulo p for any prime p and any integer x which is coprime to p. This tells us that 35550=1 modulo 7.