Which of the following pairs of elements is most likely to form an ionic compound?

a. helium and oxygen
b. magnesium and chlorine
c. chlorine and bromine
d. potassium and sulfur
e. sodium and potassium
f. nitrogen and iodine