Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Inv_mod Calculator

Inv_mod

Function: inv_mod (<n>, <m>) Computes the inverse of <n> modulo <m>. inv_mod (n,m) returns false, if <n> is a zero divisor modulo <m>.

inv_mod(59,210);

          (%i1) inv_mod(3, 41);
          (%o1)                           14
          (%i2) ratsimp(3^-1), modulus=41;
          (%o2)                           14
          (%i3) inv_mod(3, 42);
          (%o3)                          false

(%o1)                                true
(%i2) 

Inv_mod Example

Related Examples

inv_mod-mod

inv_mod(3120,17);

Calculate

inv_mod-mod

inv_mod(291,7);

Calculate

inv_mod-mod

inv_mod(16,17);

Calculate

inv_mod-mod

inv_mod(10727,21738);

Calculate

inv_mod-mod

inv_mod(627,285427429...

Calculate

inv_mod-mod

inv_mod(3,11);

Calculate

inv_mod-mod-power_mod

inv_mod(773,1932);

power_mod(66,173,323);

Calculate

inv_mod-mod-power_mod

power_mod(11793079, 1...

mod(3^15,5);

power_mod(6050520, 2...

Calculate

inv_mod-mod

inv_mod(-266,2671);

Calculate

inv_mod-mod

inv_mod(11,17);

Calculate