using primitive roots and index to solve congruences
The aim of the following example is to illustrate how to use primitive roots![]()
and the index of an integer to solve seemingly complicated congruences
![]()
.
For this example, let and let us attempt to solve
Since every prime has a primitive root, we can easily find one. In particular, the number is a primitive root for . Indeed, the powers of are the following modulo :
The table above allows us to build a table of indices with base (for the definition of index and its properties which will be used below, see http://planetmath.org/node/PropertiesOfTheIndexOfAnIntegerWithRespectToAPrimitiveRootthis entry):
Now we can use the properties of index to solve the equation . By taking indices on both sides we obtain
and so . The equivalence implies and hence . Lifting this solution to modulo we obtain or modulo , and by the table of indices, or modulo are the unique solutions of the congruence.