Exercise 3.3.22 (Find the set $\mathscr{G}$ if $m = 21$)

Find the set 𝒢 defined in Problem 21 when m = 21 .

Answers

Proof. The Sage instructions

sage: m = 21
sage: inv = [Mod(a,m) for a in range(m) if gcd(a,m) == 1]; inv
[1, 2, 4, 5, 8, 10, 11, 13, 16, 17, 19, 20]
sage: [a for a in inv if a^((m-1) // 2)  == Mod(kronecker(a,m),m)]
[1, 20]

show that 𝒢 is the subgroup { 1 , 1 } ( mℤ ) × if m = 21 . □

Note : For m = 7 13 = 91 , the same instructions give a greater subgroup 𝒢 with order 18 , which is a divisor of ϕ ( m ) = 72 , as expected. Of course, if m is prime, 𝒢 = ( mℤ ) × has order m 1 = ϕ ( m ) . Testing all odd composite numbers m up to 2000 , we observe that the order of 𝒢 is at most ϕ ( m ) 2 , which is expected, since the index of 𝒢 satisfies ( mℤ ) × : 𝒢 ) 2 for composite numbers, if we can prove that 𝒢 ( mℤ ) × is always true (see Problem 23). This threshold is reached for 1729 , for which | 𝒢 | = ϕ ( m ) 2 = 648 . Every element a in the complement of 𝒢 give a proof that m is not a prime, since a ( p 1 ) 2 ( a p ) . For instance, for a = 11 , ( 11 1729 ) = 1 , but 1 1 ( 1729 1 ) 2 1 ( mod 1729 ) . So the witness 11 shows that 1729 is composite, and the number of such witnesses is at least ϕ ( m ) 2 (and if a m 1 , a m is a non trivial divisor of m ). This is the idea for the Solovay-Strassen test for prime numbers.

User profile picture
2024-11-08 16:16
Comments