Fluorine (F2)
Since the atomic orbital configuration of fluorine is 1s2, 2s2, 2px2, 2py2, 2pz1, the molecular orbital configuration of its molecule having 18 electrons will be:
σ 1s2, σ * 1s2, σ 2s2, σ * 2s2, σ 2px2, π 2py2, π 2pz2, π * 2py2, π * 2pz2.
Hence the number of covalent bonds in fluorine molecule = 1/2 (8 - 6) = 1. The number 1 of the covalent bond may also be achieved in the other way: the bonding effects of the 2s bonding and antibonding orbitals cancel one another, similarly the effects of 2p, and 2p, bonding molecular orbitals cancel the effect of the corresponding antibonding molecular orbitals with the result the fluorine molecule will be having only one σ bond.
It must be noted that the antibonding orbitals decrease the stability of the bond which also explains why nitrogen is more stable than oxygen. Since all the electrons in N2 and F2 molecules are paired, these molecules are diamagnetic, while O2 having two. unpaired electrons, one each in π * 2ру and π * 2рz is paramagnetic.
Remember that isoelectronic species (species have same number of electrons) have the same bond order. For example,
(i) He2+ and H2- (having 3 electrons) have bond order of +1/2.
(ii) O22+, N2, CN-, CO and NO+ (all having 14 electrons) have bond order of 3.
(iii) O2+, NO and N2- (all having 15 electrons) have bond order of 2.5.