For each number in range, array with factor and power is returned