homechevron_rightStudychevron_rightMathchevron_rightAlgebrachevron_rightNumber theory

# 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

#### Modular math

Result

Symmetric representation

PLANETCALC, Modular arithmetic