I have this notation:

As I want in the notation to be raised to the power of only one variable, can I set ?

What have I to change in the limits of double sum?

I think the first one must be -I am not sure- but the other???

And would the notation become inside the sum ?