Let a and n be integers greater than 1, and put N = a^n − 1. Show that the order of a + NZ in (Z/NZ)^× is exactly n, and deduce that n divides ϕ(N). If n is a prime, deduce that there are infinitely many primes q such that q ≡ 1 (mod n).
Assistant
To show that the order of ( a + NZ ) in ( ( \mathbb{Z}/NZ )^\times ) is exactly ( n ), let us first consider the nature of ( N = a^n - 1 ). This expression can be factored as:
[
N = a^n - 1 = (a - 1)(a^{n-1} + a^{n-2} + \ldots + a + 1).
]
We want to show that the order of ( a + NZ ) is ( n ). The order of an element ( g ) in a group is the smallest positive integer ( k ) such that ( g^k \equiv 1 \pmod{N}).
First, calculate ( (a + NZ)^n ):
[
(a + NZ)^n \equiv a^n \pmod{N}.
]
But by the definition of ( N ), we have:
[
a^n \equiv 1 \pmod{N}.
]
Hence, ( (a + NZ)^n \equiv 1 \pmod{N} ), demonstrating that the order of ( a + NZ ) divides ( n ).
Now, suppose there is a ( k < n ) such that ( (a + NZ)^k \equiv 1 \pmod{N} ). This would imply ( a^k \equiv 1 \pmod{N} ).
Consider the congruence ( a^k \equiv 1 \pmod{a^n - 1} ). Because ( a^n \equiv 1 \pmod{a^n - 1} ), if ( k < n ), then ( a^k \equiv 1 ) earlier would contradict the minimality of ( n ) (since ( a^n ) is assumed to be the first occurrence of ( 1 ) among powers ( a^i \mod N ) for ( i = 1, 2, \ldots, n )).
Due to this contradiction, ( k ) cannot be less than ( n ), and thus, the order of ( a + NZ ) is precisely ( n ).
Now, deduce that ( n \mid \varphi(N) ).
Since the order of ( a ) modulo ( N ) is ( n ), by Lagrange's theorem, ( n ) divides the order of the group ( ( \mathbb{Z}/NZ )^\times ), which is given by Euler's totient function, ( \varphi(N) ).
Finally, assume ( n ) is a prime to deduce that there are infinitely many primes ( q ) such that ( q \equiv 1 \pmod{n} ).
The primitive root theorem asserts that for any integer ( a ) and a prime ( n ), the order of ( a ) modulo a number that divides ( n ) divides ( n-1 ). When ( n ) is prime, there exist elements in ( \mathbb{Z}_{a^n-1} ) with an order that is a multiple of ( n ), implying that ( \varphi(a^n - 1) ) includes ( n ) as a factor.
By Dirichlet's theorem on arithmetic progressions, which states that there are infinitely many primes in any arithmetic progression of the form ( kn + 1 ) with ( \gcd(k, n) = 1 ), there are infinitely many primes ( q \equiv 1 \pmod{n} ).
Thus, we've shown that the order of ( a + NZ ) in ( ( \mathbb{Z}/NZ )^\times ) is ( n ), that ( n \mid \varphi(N) ), and that there are infinitely many primes ( q ) such that ( q \equiv 1 \pmod{n} ) when ( n ) is a prime.