Online Course Discussion Forum
How do I prove the 11 modulo rule?
此讨论区有规定周期内发帖数量的限制,它被设置为 一周 内最多发帖 1 条。
Notice that $10 \equiv -1 \pmod{11}$. Thus $$10^n \equiv \begin{cases}1 & n \text{ even} \\ -1 & n \text{ odd}\end{cases} \pmod{11}$$ Then use this fact to prove that a number is congruent to the alternating sum of its digits $\pmod{11}$.
社交网络