Hi all

I have the following problem, i have attached the following equation into a file.

lets suppused i have the following vector :

A={10,20,50,60,70,49,21,23}

how i solve the equation (my main problem is how to threat the double sum function with diffrent indexies i.e. i,j) ?

Best Regreats