Representing a pair of numbers as a product of those two raised to teh 2 and 3 powers