“…For each of these three cases we need to know the number of times each value of N i,j,τ (s, t, u, v) occurs. This allows us to decompose the sum in equation (1) according to the values of N i,j,τ (s, t, u, v). Fix i, j, τ , with 0 ≤ i, j < D, 0 ≤ τ ≤ q n − 2.…”