Skip to main content
For an integer n, the integer remainder after squaring of an integer x divided by n, is written as "x2 mod n". Such operation is called modular squaring and the integer n is called the modulus.