The n-type semiconductors are obtained when Si or Ge are doped with elements of group 15 , eg, arsenic (As), while p-type semiconductors are obtained when Si or Ge are doped with traces of elements of group 13 , ie, indium (In), boron (B) . Note : The conductivity of semiconductors increases with rise in temperature.