Phosphorus is a n-type dopant. It diffuses fast, so is usually used for bulk doping, or for well formation. Used in solar cells. Can be added by diffusion of phosphine gas. Bulk doping can be achieved by nuclear transmutation, by irradiation of pure silicon with neutrons in a nuclear reactor. Phosphorus also traps gold atoms, which otherwise quickly diffuse through silicon and act as recombination centers.