What is the atomic number of Na?
Mass number is essentially the number of protons in the element. Remember that protons are what define an element. 11 protons is the atomic number of Sodium, but 12 is the atomic number of Magnesium. The element to the left will always have an atomic number one less, and the one to the right will always be one more.
In fact, the periodic table is in numerical order by Atomic Number. They'll always be whole numbers, 1-118.