(∑_i^K) (∑_p^Q) n(i,p)=Max