how are the atomic number and the number of protons related?
The atomic number equals the charge on the nucleus. It therefore also equals the number of protons in the nucleus and also equals numerically the number of electrons in the neutral atom. The atomic number has the symbol Z.