Those elements having same atomic number but different mass number are called isotopes where as the elements having different atomic number but same number are isobars.
As for example —
17Cl35 and 17Cl37 are isotopes but 18Ar40 and 19K40 are isobars.