Represent pairs of nonnegative numbers as a product of exponents