The presence of unpaired electrons in an atom determines whether or not an atom is attracted to a magnet or not. Are there unpaired electrons in phosphorus atom? if so, how many?.