We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a38326 commit 59fa075Copy full SHA for 59fa075
src/algebra/chinese-remainder-theorem.md
@@ -76,6 +76,10 @@ Then a solution to the system of congruences is
76
77
$$a = \sum_{i=1}^k a_i N_i M_i$$
78
79
+Again as $N_i \equiv M_i^{-1} \pmod{m_i}$, the solution is equivalent to
80
+
81
+$$a = \sum_{i=1}^k a_i M_i (M_i^{-1} \mod{m_i})$$
82
83
Observe $M_i$ is a multiple of $m_j$ for $i \neq j$, and
84
85
$$a \equiv a_i N_i M_i \equiv a_i (1 - n_i m_i) \equiv a_i \pmod{m_i}$$
0 commit comments