Some computer algebra algorithms in SageMath.
- Euclid's algorithm for any euclidean domain:
- GCD computation.
- Traditional extended euclidean algorithm.
- Normalized extended euclidean algorithm (for a domain with normal form).
- Chinese remainder theorem algorithm (compute the inverse).
- Greatest common divisor in a unique factorization domain.
- Inverse of an element in a finite field. p,f irreducibles in Zp [x] -> K:=Zp[x] / (f(x)) |K|=p^(deg f).
- Irreducibility test of a polynomial in Fq[x].
- Discrete logarithm in fields Fq[x] / (f(x)).
- Factorization in finite fields:
- Factoring algorithm of a polynomial in a finite field parts 1, 2 and 3.
- Berlekamp's factorization algorithm in finite fields.
- Factorization algorithms in Z[x].
- AKS primality testing algorithm.
- Buchberger division algorithm.
- Ideal membership algorithm.
- Multivariable division algorithm, with unique remainder
- Miller-Rabin primality test