A slotted nut (sometimes called a castle nut because it resembles the top of a castle) is a nut that is designed to be held in place with a cotter pin.