Proposition 3
Tag 072M, permanent. Cite it as [Bourbaki, Tag 072M].
Algebra, VII, p. 13, § 2. Torsion modules over a principal ideal domain
Let be a prime number and let be an integer; then the group is cyclic of order ; if then the residue class mod of an integer congruent to 1 mod is a generator of if and only if is not congruent to 1 mod . Let be an integer; then the group is cyclic of order ; if then the residue class mod of an integer congruent to 1 mod 4 is a generator of if and only if is not congruent to 1 mod 8.
Since has order , the order of every element of is a power of , and is a generator of if and only if . Now if is the class of , then is the class of , by Lemma 3, whence generates if and only if , in other words . For example, the class generates . Similarly, the class of mod generates if and only if , which means that is not congruent to 1 mod 8, by Lemma 3; this is satisfied by .
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.