If I have a number $N$, what operation can I use to make a number $X^N$

52 Views Asked by At

I'm trying to create a method to a way to take a number and make it a part of another “family” of numbers. For example, given a number $X$, to make it a part of the family of even numbers, just multiply it by 2. Basically, I just want to take a number $N$, and make it into $X^N$.