misc

A collection of small scripts and guides I keep handy—for myself and anyone who might find them useful.

View on GitHub

Pairing Functions

A pairing function is a function that encodes two natural numbers into one natural number.

Formal Definition

f : ℕ × ℕ → ℕ

Properties

Some Pairing Functions

Sources