sum from n=1 to 6 of n(n-2)