How to show that the map $ f : \mathbb{N}^2 \to \mathbb{N} $ defined by: $$ f (p, q) = \dfrac{(p + q)(p + q + 1)}{2} + q $$ is bijective, having already shown at the beginning the assertion which states that:
$$ \forall n \in \mathbb{N} \ \exists! k \in \mathbb{N} \ : \ N_k \leq n \leq N_{k + 1} $$
with : $ N_k = \dfrac{k (k + 1)}{2} $ ?
Edit : I've found several proofs here : Proving the Cantor Pairing Function Bijective . Neverthless, they don't use the assertion which says that : $$ \forall n \in \mathbb{N} \ \exists! k \in \mathbb{N} \ : \ N_k \leq n \leq N_{k + 1} $$
Thanks in advance for your help.