2.2.3 Atomic Number and Mass Number
The presence of positive charge on the nucleus is due to the protons in the nucleus. The charge on the proton is equal but opposite to that of electron.
The number of protons present in the nucleus is equal to atomic number (Z). The number of protons in the hydrogen nucleus is 1, in sodium atom it is 11, so their atomic numbers are 1 and 11.
In order to keep the electrical neutrality, the number of electrons in an atom is equal to the number of protons (atomic number, Z).
While the positive charge of the nucleus is due to protons, the mass of the nucleus is due to protons and neutrons. Protons and neutrons present in the nucleus are collectively known as nucleons.
The total number of nucleons is termed as mass number (A) of the atom: mass number equals number of protons (Z) plus number of neutrons (n).
First find out whether the species is a neutral atom, a cation or an anion. If the protons are larger in number than the electrons it is a cation (positive ion); if smaller, an anion (negative ion).
Number of neutrons is always given by A minus Z, whether the species is neutral or ion.
Bromine-80 has Z equal to 35 and A equal to 80. Being neutral, it has 35 protons and 35 electrons, and its neutrons are 80 minus 35, that is, 45.