(-1)^{n(n-1)/2} n^(n-2) n(n+1)/2