Functions That Enumerate Pairs

A function that enumerates pairs is a bijective mapping of the set of non-negative integers to the set of all ordered pairs of non-negative integers. Thus there are three functions , , that satisfy the relations , , , with . One such triple is defined by ; , where is the largest integer for which .