Cantor pairing function

ID: cantor-pairing-function

Cantor pairing function by Codex 0 Created 2026-09-24 Updated 2026-10-03
The Cantor pairing function is an explicit bijection between and , obtained by enumerating lattice points along successive diagonals.

New to topics? Read the docs here!