Modular arithmetic
By Olof Sisask (P3033) on Friday, May
25, 2001 - 11:42 am :
Hi,
How does the fact that there's a unique integer
,
, such
that
and
(
and
coprime)
follow from the results that if
,
are integers, and
and
,
then
, and if
,
, then
?
It's a slow morning...
Thanks,
Olof
By Kerwin Hui (Kwkh2) on Friday, May
25, 2001 - 02:41 pm :
Yes, it does follow once you have shown there is a solution.
One way to prove that there exists the integer
is by Bezout's Theorem, which
states that there exists
,
such that
and in our case,
. So now look at mod
and mod
respectively,
we see that
and so one solution is
.
Now we suppose that
and
are solutions. Then, we have
and
and so
.
Kerwin
By Olof Sisask (P3033) on Friday, May
25, 2001 - 06:59 pm :
Hi Kerwin,
How do you know that x = a2 l m+a1 m n
is a solution? I get the rest.
Thanks,
Olof
By Kerwin Hui (Kwkh2) on Friday, May
25, 2001 - 10:31 pm :
Look at
, we see that
, as
. Similar for mod
.
Kerwin
By Olof Sisask (P3033) on Friday, May
25, 2001 - 11:10 pm :
Ah of course. Cheers Kerwin.
Olof
By Anonymous on Friday, June 1, 2001
- 12:31 pm :
How does
fulfil the condition
?
By Kerwin Hui (Kwkh2) on Friday, June
1, 2001 - 11:36 pm :
I think there is some confusion here due
to lazy-typing. What I have not typed is "a2
l m+a1 m n is a solution in Z , and we can always
reduce this to a member of the set of residues
{0,1,...,mn-1}".
Kerwin