Source: http://www.math.chalmers.se/~ulfp/Review/sixwives.pdf