We get a p-type of semiconductor when semiconductor is doped with trivalent material link Indium. The addition of trivalent impurities such as boron, aluminum or gallium to an intrinsic semiconductor creates deficiencies of valence electrons,called "holes". It is typical to use B2H6 diborane gas to diffuse boron into the silicon material.