nが偶数のとき(n≧4)、C[n-1,2] - 3*Σ[k=n/2〜n-2] (n-k-1)
nが奇数のとき、C[n-1,2] - 3*Σ[k=(n+1)/2〜n-2] (n-k-1)