I was reading a proof on the counting of rational numbers and this formula came out at the beginning but I'm not even sure what it does.
$$f(m,n)=1+...+(m+n-2)+m$$
where $m$ and $n$ are naturals.
Supposedly, $f(1,1)=1$ associates one and only one element of the naturals to the set $$\mathbb{N} \times \mathbb{N} = \{ (m,n) : m, n \in\mathbb{N}\}$$
Any help ? While we're at it, what does "$\times$" mean between the two sets ?
Here X means cartesian product of natural numbers with natural numbers.