The modulo operator has the following properties:

  • Reflexivity:
  • Symmetry: if then
  • Transitivity: if and then
  • for

  • if and is relatively prime to , then .

    is relatively prime to so

  • if and then