An n-type and p-type silicon semiconductor can be obtained by doping pure silicon with
sodium and magnesium
phosphorus and boron
boron and phosphorus
indium and sodium
Phosphorus is pentavalent (donor impurity) and Boron is trivalent (acceptor impurity) .