text: The formula for degree of unsaturation is:
  where n is the number of atoms with valence v.
  That is, an atom that has a valence of x contributes a total of x − 2 to the degree of unsaturation. The result is then halved and increased by 1.