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

• magnesium and sodium

• nitrogen and sulfur

• oxygen and chlorine

• magnesium and chlorine

• carbon and fluorine