Given function $$F(x,y)=\frac{(x+y-2)(x+y-1)}{2}+y$$ is bijective or not.
Attempt: I check $F(x_1,y_1)$ and $F(x_2,y_2)$ and ends up in $$(x_1+y_1)^2-3x_1-y_1=(x_2+y_2)^2-3x_2-y_2$$ Now how to show $(x_1,y_1)=(x_2,y_2)$? How one can show it is surjective?
See this Wikipedia article
This is a table of $M_{i,j} = F(i,j)$ where $1 \le i,j \le 6$.
$$M = \left[ \begin{array}{cccccc} 1 & 3 & 6 & 10 & 15 & 21 \\ 2 & 5 & 9 & 14 & 20 & 27 \\ 4 & 8 & 13 & 19 & 26 & 34 \\ 7 & 12 & 18 & 25 & 33 & 42 \\ 11 & 17 & 24 & 32 & 41 & 51\\ 16 & 23 & 31 & 40 & 50 & 61 \\ \end{array}\right]$$
We can show that the "up-one over-one" diagonal elements increase by $1$ by computing
$$F(i-1,j+1)-F(i,j) = 1$$
Then the sequence $F(n,1), F(n-1,2),F(n-2,3), \dots, F(1,n)$ is an arithmetic sequence with common difference $1$.
To continue this sequence starting at the next diagonal, we see that
$$F(n+1,1) - F(1,n) = 1 $$
Since $F(1,1)=1$, it follows that $F$ is bijective.