Theorems · Theorem · number theory
ZMod.isCyclic_units_iff
∀ (n : ℕ), IsCyclic (ZMod n)ˣ ↔ n = 0 ∨ n = 1 ∨ n = 2 ∨ n = 4 ∨ ∃ p m, Nat.Prime p ∧ Odd p ∧ 1 ≤ m ∧ (n = p ^ m ∨ n = 2 * p ^ m)
(ZMod n)ˣ is cyclic iff n is of the form
0, 1, 2, 4, p ^ m, or 2 * p ^ m,
where p is an odd prime and 1 ≤ m.
- Defined in
- Mathlib.RingTheory.ZMod.UnitsCyclic
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 164 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites16
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- mul_oneproof · cited by 3,885
- Unitsstatement and proof · cited by 2,804
- Nat.Primestatement and proof · cited by 2,059
- mul_assocproof · cited by 1,667
- pow_zeroproof · cited by 1,094
- ZModstatement and proof · cited by 1,024
- Evenproof · cited by 444
- Oddstatement and proof · cited by 364
- zero_lt_twoproof · cited by 124
- IsCyclicstatement and proof · cited by 122
- Nat.even_or_oddproof · cited by 28
- Even.two_dvdproof · cited by 15
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.