Modular Arithmetic Notes -1
Modular Arithmetic Notes -1
Posne lunber:
The ounben p! i called a psme ninb ep
the
only drotsor P.P
Noo padme nuobers asee called
colled conposPLe number.
Greatest Comnon Deots Or cd)
Consioln tewo nunberg 2 and ic.
£1, 9, 3, 4. 6, 123 and dvisos lG ee
Congrugnee!
a, b, mc-z, mo o Bage tht c A congruent
to b molutlo 6
9le ca-b) aund the
noen a asbcmod m)
a b cGodo) rola-b
L8=3 cnod s) 58-3 =>
+B29.
1sC mo )
Psapertses Cengraences
cmoc m) y= a,xa, = b,xb, Cmod m)
, a,z b, (mod m) ; a,= b
Lnod
lmod m)!
m)! = a b° cmod m) e-N
> à= b
the
x' Buch tuoLA
s FRod the leant posftPre ase e Bobiseed
jolloeing ccrgranent rdentttie
) 8 4xE 3 Cmools)
Saf- 5 S t x - 3
They
89= Cx+3) cmody)
Sc:- 89-ta)
ttne we
tor othercane, =|
sl84
5486 -2
They
3xQcmodl ) teo x such thot 9s 30,
S!!- Glren, 3ECmo )
3x- k
3 = k+)
tk+
3
Ero,,9, 3, 44 ... ap ce
kzo, coe can ee
we try by takig
thol
uohen t=4i=10, k=#,x=?;
osce
Thuy equred aleek
4} Fend the beloeen -to cend 4o sate
ntrgens
3x acnolu)
Solutien;
ul3x-a
3x - = l|k
k=
Soluti on
we take
k=|
k= - C: el-)
k:
Solusico:
At
2 =l 3 (: cutio) x uly
k-| (i lu)
k: C: ulee)
-they, L=3, I3, - cud r the egwred
Values,
)*4 (o
= t4s 4(mod )
48 E6 c mool )
6
y propent congraences
13S xyx 48 E Xu xs cmod )
(3x4x y 8 48 Cno )
)48 C6
49
6
An ) o (
&64 )
6
36 =I Cmod 9)
Thes the Deqcired emaioolen i
lo
G6
ct h)
th
(ttr 958 S)
S
8z(th )
, 78X81 po) (eh
(et
(med Con:der
Solutjen;=
last the ind 26
alig lant tue Tuy
(mol
o) 3= 3
cmedlioy 3x3
cmodi) 3'= And
3=cmod
io)
Cmolio)
3
Cmod
o) 3 haue hae
dgloat Selutsen:;=
oeanber
g' the last the Feod I5
oemernur
9. s equired the Tiy
23) Cmod 9= 4
23)
23)
53 4
CI) )5G S3 23) C6noo 3 956= =
solatigo:
93
dioided
by aemouooler,
4 Ftod 14}
(+9al mod io)
24 I (mod ro)
y x q x iMedto)
t
I26
Thyte last dg- o 3.
q mod to)
= mod o)
3 | Cmodio)
2008
2e0xx?* 92cmod o)
hloeas ogruerces:
t Congruencethe tem aVi bmod m), ohese
ato imed m) 9A called a leneose congru ence, Futher
k P8 Bald t be a solutin et,
atcmod m) con mat-b.
Nete: - i The leneax corgrence
congruence han a solution
and
Thes, tthe gen cogrece han no selo
glran cogrueuce
(0x = IS Cmod 3s)
and slis
soltiony
Ty, the g'nen congrueuce has s
(66, 78) = 6
6)12 (2
66) 488 ( 12) 66 (s
66 60
and
selub'e
Thuy, genen congrueuc e has
841 E l6 C
and
35)84 (2 14) 3ss(2.
28
)l4l2
. haK no sduts y
Soee the lioeax eorgre euceg
' } x 4(mod o)
4?
to t4 =l4 iy dirois dhle by
Thuy
13 x = o Cmod 28)
C13, 28) = I
ged
One golutsen Eust
Consider Muctiple 28
Q8, s6, 84, I2, l4 O, (68, 196, 224
ß4 +l0 = 934
13
ttence
Censicler, Multiple s
cud iso +4 = ls4
Tus
4 3a+)=o cmod )
Sslutje:=
cmed)
3x = -
C3,9)-)
ne
Nuttsple
, l4, 2h, s, 36, yf, y, , ds, /o
14-2 = 12 4
Heuce Es c mod )
s 512 : 32 mod )
Mattpe %
7, 14, 20, 28, 35, 4 , 4 , S6, 6 3, 0
Heuce, E Cmod )
emodm
cd) 2,3... k=0,
l,
ohese
'sction%
cergreeuce
hasheA euce congr Ceneas gener te H6o
At0
solulsoN. congrweuCe
haRA
O Liseacc Then
dlb ond
qcCa
m) ttnd oe
Ferst
sPod
x,Suppes To
congrae gren the axEbemnod
uy m)
Flod atl the solutien8 O; the tetleeo iag congruent
olentt ses.
CIS, 2)) =63
So:
6) 1S 2 : 3 6(2
IS) 2 (
I5
3
6
33 ssutseu
The congruence hay soletson
Aoo dlieide g2non congruence by
4 Cmod )
Maltiple #, 4, 2/
21+f 26
=5 c md )
k=o,1, 2
Thuy
lOx |5 Cmod 35)
solutsg:a qcd ( (o, 3 S) = 5.
to)35(3 ) 5) ol2 The 5 saeuce
30
ha
5
Nlou, divide g'ven conga en ce by
Multple
43= l0,
)
x #5 cmod
and let
aee
gson by
2= Xo t k()
k)
t- o,l, 2, 3, 4
Ttue, X= 12, 19, 26, 33 congruent to mod 3s
5,
aee the aeiOu Boleten,
Compute
Denottrg M, M/m, : ,= Myu , M/mg
toom Congruence s
M, x = , (mod M,) , M, x= a, cmod m,) and obfeio
the soletio
Fusther X = M, z, o, t M, *,o, t dnd R P
the emrodn o t n e d on the divigien G x
by M cshee
The slution the sytterm congcenc
X= R Cmod )
PArcbeg:
solre the cergreeces Beltaneougly
by cstrg ernainden theem
xEocmod 3), x5Cmo)
a;Cmod4;)
Comparii geren congruence 8 oth
=, ,3
we are
(a Mi) = ( | 4) (a,, m = Co, 3)) ca, m) == C5, )
M= 8
and
e44 Ma
X=QCma 3),
Sef: Compas e gtven cogruences o ith
(mod mi) ?=,,3
2=l. I.3.
3Sx 2I (mod4), Axs ( mod5), Aex 2 ltmod a)
Selatien
least
co te es yo) Cmod q3 XTtey,
Jernciole 140
93 SI3
S= M,@t
aX xa,+ M,X=
6. , M,
s)i cmod 4)
;(mod t 2 35
)
corgrecop
3S =M,
M
I40 M=
M3 MM,M=
mi)Cmod
corgr 3.gevan Conpasee
rceenceg
), mod 2c xa s), Cmod
oltsoo.
Xa3
They
least the os)y cmod
demarnden gves
33
gren
by