Let
and
be positive integers such that
.
For two integers
and
, there exists an integer
such that
if
satisfies the same equivalences as
above, then
Namely,
Proof
Since
, there exist integers
and
such that
In particular, we have
Multiply both sides of the equivalence by
and
respectively…
The integer
represents the sum of these two equivalences.
This is true because
Suppose another integer
also satisfies the equivalences above:
Therefore for some
However,
is divisible by both Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p}
and
, which means that
must also be divisible by
.
and
are coprime (
; they do not divide each other), so the second equivalence implies that
must be divisible by
.
Therefore,
must be divisible by
, so as claimed,
Q.E.D.