Question: when are the number of protons and electrons different?
Answer: Atoms must have equal numbers of protons and electrons. In our example, an atom of krypton must contain 36 electrons since it contains 36 protons. Electrons are arranged around atoms in a special way.