Modular arithmetic

The calculator performs arithmetic operations modulo p.

The calculator below solves a math equation modulo p. Enter an integer number to calculate its remainder of Euclidean division by a given modulus. You may also enter other integers and the following modular operations:

  • + addition modulo p
  • - subtraction modulo p
  • * multiplication modulo p
  • / division modulo p ( available for all numbers if the modulus is a prime number only )
  • ^ exponentiation modulo p
  • () expression grouping

PLANETCALC, Modular math

Modular math

Symmetric representation
The file is very large. Browser slowdown may occur during loading and creation.

URL copied to clipboard
PLANETCALC, Modular arithmetic