5212 P=NM+(NI+1)*.5