Order of Element Modulo n Calculator

Discover the order of an element modulo n. This tool helps you find the smallest positive integer k such that ak ≡ 1 (mod n).

a
n

Result

The order of modulo is:

Visualization of ak mod n

kak mod n

What is the Order of an Element Modulo n?

In modular arithmetic, the order of an integer 'a' modulo 'n' is the smallest positive integer 'k' such that ak is congruent to 1 modulo 'n'. In simpler terms, it's the smallest power 'k' to which you must raise 'a' so that the remainder when ak is divided by 'n' is 1.

Learn more about order of elements on resources like Wikipedia and Khan Academy.