Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.8.25* (Number of solutions of the congruence $a^{m-1} \equiv 1 \pmod m$)

Exercise 2.8.25* (Number of solutions of the congruence $a^{m-1} \equiv 1 \pmod m$)

Show that the number of reduced residues a ( mod m ) such that a m 1 1 ( mod m ) is exactly p m ( p 1 , m 1 ) .

Answers

Proof.

a)
Write m = p 1 α 1 p 2 α 2 p l α l the decomposition of m in prime factors. Let N be the number of reduced residues a ( mod m ) such that a m 1 1 ( mod m ) . Then N = Card ( A ) , where A = { α ( mℤ ) × α m 1 = 1 } .

( ( mℤ ) × is the group of invertible elements of mℤ .)

Consider the sets

A k = { γ ( p k α k ) × γ m 1 1 } , 1 k l .

Let φ be the map

φ { A A 1 × A 2 × × A l [ a ] m ( [ a ] p 1 α 1 , [ a ] p 2 α 2 , , [ a ] p l α l ) .

Then

  • φ is well defined: if a a ( mod m ) , then a a ( mod p k α k ) , because p k α k m for every index k . Thus ( [ a ] p 1 α 1 , [ a ] p 2 α 2 , , [ a ] p l α l ) = ( [ a ] p 1 α 1 , [ a ] p 2 α 2 , , [ a ] p l α l ) . Moreover, if [ a ] m A , then [ a ] m m 1 = 1 , therefore ( [ a ] p k α k ) m 1 = 1 for every index k , because p k α k m , and m a m 1 1 . So ( [ a ] p 1 α 1 , [ a ] p 2 α 2 , , [ a ] p l α l ) A 1 × A 2 × × A l .
  • φ is injective : if φ ( [ a ] m ) = φ ( [ b ] m ) , where a , b , then ( [ a ] p 1 α 1 , [ a ] p 2 α 2 , , [ a ] p l α l ) = ( [ b ] p 1 α 1 , [ b ] p 2 α 2 , , [ b ] p l α l ) , thus p k α k b a for every k [ [ 1 , l ] ] , therefore m b a , so [ a ] m = [ b ] m .
  • φ is surjective: if ( [ a 1 ] p 1 α 1 , [ a 2 ] p 2 α 2 , , [ a l ] p l α l ) is any element of A 1 × A 2 × × A l , by the Chinese Remainder Theorem, there exists a such that a a k ( mod p α k ) for every k [ [ 1 , l ] ] . Moreover, since p α k a k m 1 1 , then p α k a m 1 1 for every k [ [ 1 , l ] ] , therefore m a m 1 1 , thus [ a ] m A , and φ ( a ) = ( [ a ] p 1 α 1 , [ a ] p 2 α 2 , , [ a ] p l α l ) = ( [ a 1 ] p 1 α 1 , [ a 2 ] p 2 α 2 , , [ a l ] p l α l ) . So φ is surjective.

This proves that φ is bijective, thus

| A | = | A 1 × A 2 × × A l | = | A 1 | | A 2 | | A l | . (1)
b)
Now we show that | A k | = ( p k 1 ) ( m 1 ) for every k . To have shorter notations, write p = p k , α = α k . We compute Card { γ ( p α ) × γ m 1 = 1 } ,

where p α m , p α + 1 m .

Consider first the case p 2 . Then ( p α ) × has a generator g by Theorem 2.39 and 2.40, of order ϕ ( p α ) = p α 1 ( p 1 ) .

Let γ be any element of ( p α ) × . Then γ = g k for some integer k such that 0 k < p α 1 ( p 1 ) . Write d = ( p 1 ) ( m 1 ) the gcd of p 1 and m 1 . Then

γ m 1 = 1 g k ( m 1 ) = 1 p α 1 ( p 1 ) k ( m 1 ) p α 1 p 1 d k m 1 d p α 1 p 1 d k ,

because p 1 d m 1 d = 1 , and p α 1 ( m 1 ) = 1 (recall that p m ), thus p α 1 m 1 d = 1 , and so

( p α 1 p 1 d ) m 1 d = 1 .

Since 0 k < p α 1 ( p 1 ) ,

k K = { 0 , p α 1 p 1 d , 2 p α 1 p 1 d , , ( d 1 ) p α 1 p 1 d } ,

and two distinct values of k K are not congruent modulo ϕ ( p k ) , therefore the equation γ m 1 = 1 has d = ( p 1 ) ( m 1 ) solutions in ( p α ) × . This shows that

Card { γ ( p α ) × γ m 1 = 1 } = ( p 1 ) ( m 1 ) ,

for every odd prime divisor of m .

(Alternatively, we can use Corollary 2.32.)

Consider now the case p = 2 . We prove that the congruence a 2 α 1 1 ( mod 2 α ) has exactly one solution (this is also a consequence of Corollary 2.44).

By Theorem 2.43 we can write

a ( 1 ) y 5 z ( mod 2 α ) , 0 y < 2 , 0 z < 2 α 2 .

Then, using the part "unicity" of Theorem 2.43,

a 2 α 1 1 ( mod 2 α ) ( 1 ) y ( 2 α 1 ) 5 z ( 2 α 1 ) 1 ( mod 2 α ) y ( 2 α 1 ) 0 ( mod 2 ) , z ( 2 α 1 ) 0 ( mod 2 α 2 ) y 0 ( mod 2 ) , z 0 ( mod 2 α 2 ) a 1 ( mod 2 α ) .

Thus, for p = 2 , we have also

Card { γ ( 2 α ) × γ m 1 = 1 } = 1 = ( p 1 ) ( m 1 )

c)
Therefore (1) shows that N = | A | = p m [ ( p 1 ) ( m 1 ) ] .

So the number of reduced residues a ( mod m ) such that a m 1 1 ( mod m ) is exactly p m [ ( p 1 ) ( m 1 ) ] .

User profile picture
2024-09-17 08:29
Comments