Alkanes contain the maximum possible number of hydrogens, 2n + 2, where n is the number of carbon atoms. They are called saturated hydrocarbons. Hydrocarbons with multiple bonds are unsaturated and have fewer hydrogens per carbon atom than their saturated analogs. In cyclic compounds, the presence of every ring costs two hydrogens. A compound possesses one degree of unsaturation for every π bond and ring present in the molecule, which corresponds to each pair of missing hydrogen atoms in hydrocarbons. In such compounds, the degree of unsaturation, also called the index of hydrogen deficiency, or saturation number, is half the difference between the maximum possible and actual number of hydrogens. If a molecular formula is C4H6, the compound has two degrees of unsaturation. The molecule may have one ring and one double bond or two double bonds. Other possibilities are the presence of two rings or one triple bond. The degree of unsaturation can also be calculated for ions and functionalized hydrocarbons by adjusting for the differences in valency. In organohalogen compounds, the monovalent halogens are considered as equivalent to hydrogen. As such, the degrees of unsaturation of 1-bromopropane and propane are both zero. In contrast, divalent oxygen is ignored when calculating the degree of unsaturation with this equation. Accordingly, acetone and 1-propene have the same degree of unsaturation. In nitrogen-bearing compounds, each trivalent nitrogen atom adds one to the numerator of the equation, effectively canceling out one hydrogen atom. Thus, 3-buten-1-amine has the same degree of unsaturation that 1-butene does.