The influence of electrically inactive impurities on the formation of donor centers in silicon layers implanted with erbium