On The Origin of Species by Charles Darwin Chapter 9 Page 61

respects; and as in each of the three forms there are two sets of stamens, the three forms possess altogether six sets of stamens and three kinds of pistils. These organs are so proportioned in length to each other that half the stamens in two of the forms stand on a level with the stigma of the third form. Now I have shown, and the result has been confirmed by other observers, that in order to obtain full fertility with these plants, it is necessary that the stigma of the one form should be fertilised by pollen taken from the stamens of corresponding height in another form. So that with dimorphic species two unions, which may be called legitimate, are fully fertile; and two, which may be called illegitimate, are more or less infertile.

With trimorphic species six unions are legitimate, or fully fertile, and twelve are illegitimate, or more or less infertile.