distinct-numbers-steady-state-cascade

Status: IN

For `n >= 2`, the board stabilizes to `{2, 3, ..., n}` because each `x % (x-1) == 1` adds the next smaller number, halting at 2 since `2 % 1 == 0`.

Source: entries/2026/06/06/count-distinct-numbers-on-board-solution.md

JSON