In order to implement a software I need a function $f:\mathbb{N} \times \mathbb{N} \rightarrow \mathbb{N}$ such that: $$(x' \neq x \lor y' \neq y) \Rightarrow f(x,y) \neq f(x',y') $$
It's very easy to implement an algorithm that implements such a function, but I was not able to find an analytical representation of it.
coult you help me?