I see in this Wolfram page the computation for two pair in a five-card hand, and I understand everything except the division by 2!. I would think that this division represents making sure that the order in which each pair occurs does not distinguish two poker hands. But I would think we should divide by 3! because we want to make sure that order doesn't matter between the pairs as well as for the place of the single card which does not match the face value of either pair.

