February 2020
Beginner
621 pages
19h 34m
English
Find .
In[1]:= GCD[23456, 987654]
Out[1]= 2
Solve in integers .
In[2]:= ExtendedGCD[23456, 987654]
Out[2]= {2, {-3158, 75}}
This means that 2 is the gcd and .
Compute .
In[3]:= Mod[234*456, 789]
Out[3]= 189
Compute .
In[4]:= PowerMod[234567, 876543, 565656565]
Out[4]= 473011223
Find the multiplicative inverse of .
In[5]:= PowerMod[87878787, -1, 9191919191]
Out[5]= 7079995354
Solve .
SOLUTION
Here is one way. It corresponds to the method in Section 3.3. We calculate and then ...
Read now
Unlock full access