scm( m, n )
EulerPhi( n )
gcd( m, n )
EuclidExtended( m, n )
modexp( a, b, n )
Arguments
a,b,m,n
Integer
Details
EulerPhi Eulers totient function = #divisors of n.
scm, gcd Smallest common multiple, Greatest common divisor.
EuclidExtended Computes a, b which solve the equation a*m + b*n = gcd(m,n).
modexp Exponentiation modulo an integer.