Modular arithmetic

The calculator performs arithmetic operations modulo p over a given math expression.

This page exists due to the efforts of the following people:




Created: 2019-07-24 19:54:37, Last updated: 2021-09-30 11:49:09

Enter an integer number to calculate its remainder of Euclidean division by a given modulus. You may also enter the math expression containing 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