N-out-of-M Default Basket Swap

A basket default swap on which a credit event occurs when nth default occurs in the m-entity reference basket. At that point the buyer stops paying the premium and receives the difference of the principal amount and the recovered value for each of the first defaults.