Hi,
Element with atomic number 18 and 20 are Argon and potassium respectively.
Term used to relate them is isobar.
Isobar compounds have same mass number but different atomic number and chemical properties depend upon number of electrons so isobars have different chemical properties.
Regards