Here's how we arrive at that:
* Potassium (K) has a +1 charge as an ion.
* Nitrogen (N) has a -3 charge as an ion.
To balance the charges, we need three potassium ions (+3) to combine with one nitrogen ion (-3). This gives us the formula K₃N.