Silicon is a group 14 element (tetravalent). Indium is a group 13 element (trivalent). Doping a tetravalent semiconductor with a trivalent impurity creates a deficiency of electrons, known as holes, which act as positive charge carriers. This results in a p-type semiconductor.