pairing function

we define the primitive recursive function
if is any given number, there is a unique solution to the equation
namely, is the largest number such that , and is then the solution of the equation
this last equation has a (unique) solution because must be odd. (the twos have been "divided out.") pairing_function.html thus defines functions
since pairing_function.html implies that we have
hence we can write
so that are primitive recursive functions.
the definition of can be expressed by the statement
the properties of the functions , and are summarized in pairing_function.html.
[cite:;taken from @computability_davis_1994 chapter 8 pairing functions and godel numbers]
the functions , and have the following properties:
  1. they are primitive recursive;
  2. ;
  3. ;
  4. .
[cite:;taken from @computability_davis_1994 chapter 3 primitive recursive functions; theorem 8.1]