module MoreMath::Functions

def cantor_pairing_inv(c, n = 2)

the length of the tuple (defaults to 2, a pair).
Returns the inverse of Cantor's tuple function for the value +c+. +n+ is
def cantor_pairing_inv(c, n = 2)
  CantorPairingFunction.cantor_pairing_inv(c, n)
end