Nielsen & Chuang · Chapter 5, The quantum Fourier transform and its applications · p. 226
Exercise5.10 - The first power of 5 equal to 1 in the integers modulo 21
The order of 5 modulo 21 is 6.
Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its
declaration both in Lean and in words.
The Exercise
For positive integers and with no common factor, the order of modulo , written , is the least positive integer with (1) It is the period of the sequence taken modulo , the quantity that quantum order finding estimates.
The exercise takes and , which share no factor, and asks to show that the order is .(2)
The Claim
The library states the claim in the ring of integers modulo , where the congruence (1) is the equation , so that the order of modulo is the order of the element of that ring.
Theorem 1. In the ring of integers modulo , the order of is :(3)✦
What Is Checked
The claim is stated for the element of the ring of integers modulo .