In the case when sum of autocorrelations (without lag 0) of a sample is equal to -1/2, one cannot use the following formula for calculating ESS (n is the sample size):