Mathematica: Multiplicative Inverse of an integer using modulo

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
smithnya
Messages
41
Reaction score
0
Hello everyone,

I've been trying to figure out how to obtain the multiplicative inverse of an integer in Zn in Mathematica but I haven't found a way. Is there a way to do this anyone can help me with?
 
Physics news on Phys.org