WolframAlpha computational knowledge AI
sum for i = 1 to n-1 of i * i * (i-1) / 2