What is the definition for the Euclidean Algorithm for the GCD and the equation for the least common multiple?
For (a,b): There exists some m,n in the integers such that d=(a,b)=ma+nb.
For [a,b]: LCM= |a•b|/GCD(a,b).
Find the Greatest Common Divisor of d=(7469,2464).
And then find the LCM.
7469=3x2464+77
2464=32x77+0
So, (7469,2464)=77 and
77=1•7469+(-3)•2464. (m=1 and n=-3)
LCM=7469•2464/77
Find x and y for 43x+64y=1.
Find the GCD: which is 1.
Work backwards from the Euclidean Algorithm: we obtain 1=3•43+(-2)•64.
Thus our x0=3 and y0=-2 such that we have x=3+64r and y=(-2)-43r.
Find the solution to 57x==87(mod105).
Solve 19x==1(mod140) by two different methods.
Look at solutions to G+N sheet 4 Q7
What is Fermat’s Little Theorem?
A^p==amodp
A^(p-1)==1modp