I need to return an array of length equal to length with each element equal to the number in the power of the index.
fu