What is the chemical formula for Ba and N?

Barium nitride is Ba3N2.