WolframAlpha computational knowledge AI
sum of ((n-i+1)*(m-i+1)*(i-1)) for i from 2 to m