Skip to content

Replace p with m notation #1013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/algebra/chinese-remainder-theorem.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@ The Chinese Remainder Theorem (which will be referred to as CRT in the rest of t

## Formulation

Let $p = p_1 \cdot p_2 \cdots p_k$, where $p_i$ are pairwise relatively prime. In addition to $p_i$, we are also given a set of congruence equations
Let $m = m_1 \cdot m_2 \cdots m_k$, where $m_i$ are pairwise coprime. In addition to $m_i$, we are also given a set of congruence equations

$$\begin{align}
a &\equiv a_1 \pmod{p_1} \\\\
a &\equiv a_2 \pmod{p_2} \\\\
a &\equiv a_1 \pmod{m_1} \\\\
a &\equiv a_2 \pmod{m_2} \\\\
&\ldots \\\\
a &\equiv a_k \pmod{p_k}
a &\equiv a_k \pmod{m_k}
\end{align}$$

where $a_i$ are some given constants. The original form of CRT then states that the given set of congruence equations always has *one and exactly one* solution modulo $p$.
where $a_i$ are some given constants. The original form of CRT then states that the given set of congruence equations always has *one and exactly one* solution modulo $m$.

### Corollary

A consequence of the CRT is that the equation

$$x \equiv a \pmod{p}$$
$$x \equiv a \pmod{m}$$

is equivalent to the system of equations

$$\begin{align}
x &\equiv a_1 \pmod{p_1} \\\\
x &\equiv a_1 \pmod{m_1} \\\\
&\ldots \\\\
x &\equiv a_k \pmod{p_k}
x &\equiv a_k \pmod{m_k}
\end{align}$$

(As above, assume that $p = p_1 p_2 \cdots p_k$ and $p_i$ are pairwise relatively prime).
(As above, assume that $m = m_1 m_2 \cdots m_k$ and $m_i$ are pairwise coprime).

## Garner's Algorithm

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy