Parameter i and j go from 1 to some value r. I know how to implement iterative process in Mathematica, but i don't know what should I do when I have this sum over another index j.
– TheoristApr 21 '17 at 10:13
Re. conditions on indices: https://mathematica.stackexchange.com/questions/25882/how-do-you-put-conditions-on-indices-in-a-sum
– Chris DegnenApr 21 '17 at 12:23