∑ 0 ≤ i ≤ m 0 < j < n P ( i , j )