What is the formula formed between barium ions and nitrogen ions?

Barium nitride or Ba3N2 is formed.