Documentation

Collatz.Structural

Convergence Propagation #

Syracuse Shortcut #

The Syracuse shortcut map: for odd n, applies one step of 3n+1 and one step of /2.

Equations
Instances For
    @[simp]
    theorem Collatz.collatzShortcut_even {n : } (h : n % 2 = 0) :
    @[simp]
    theorem Collatz.collatzShortcut_odd {n : } (h : n % 2 = 1) :
    collatzShortcut n = (3 * n + 1) / 2

    Stopping Time #