The stopping time of n: the minimal k such that collatz^[k] n = 1.
Equations
- Collatz.stoppingTime n h = Nat.find h
Instances For
theorem
Collatz.stoppingTime_min
(n : ℕ)
(h : CollatzConverges n)
(k : ℕ)
(hk : collatz^[k] n = 1)
:
The stopping time of n: the minimal k such that collatz^[k] n = 1.