Solution:
We have to prove that f:N×N→N defined by
f(a,b)=21(a+b−1)(a+b−2)+a,∀a,b∈N
is a bijection. (Note that the right side is a natural number.) To this end define
T(n)=2n(n+1),n∈N∪{0}
An idea of the proof can be obtained by looking at the following table of values of f(a,b) for some small values of a,b.

We observe that the n-th diagonal runs from (1,n)-th position to (n,1)-th position and the entries are n consecutive integers; the first entry in the n-th diagonal is one more than the last entry of the (n−1)-th diagonal. For example the first entry in 5-th diagonal is 11 which is one more than the last entry of 4-th diagonal which is 10. Observe that 5-th diagonal starts from 11 and ends with 15 which accounts for 5 consecutive natural numbers. Thus we see that f(n−1,1)+1=f(1,n). We also observe that the first n diagonals exhaust all the natural numbers from 1 to T(n). (Thus a kind of visual bijection is already there. We formally prove the property.)
We first observe that
f(a,b)−T(a+b−2)=a>0
and
T(a+b−1)−f(a,b)=2(a+b−1)(a+b)−2(a+b−1)(a+b−2)−a=b−1≥0
Thus we have
T(a+b−2)<f(a,b)=2(a+b−1)(a+b−2)+a≤T(a+b−1)
Suppose f(a1,b1)=f(a2,b2). Then the previous observation shows that
T(a1+b1−2)<f(a1,b1)≤T(a1+b1−1)T(a2+b2−2)<f(a2,b2)≤T(a2+b2−1)
Since the sequence ⟨T(n)⟩n=0∞ is strictly increasing, it follows that a1+b1=a2+b2. But then the relation f(a1,b1)=f(a2,b2) implies that a1=a2 and b1=b2. Hence f is one-one.
Let n be any natural number. Since the sequence ⟨T(n)⟩n=0∞ is strictly increasing, we can find a natural number k such that
T(k−1)<n≤T(k)
Equivalently,
2(k−1)k<n≤2k(k+1)
Now set a=n−2k(k−1) and b=k−a+1. Observe that a>0. Now (1) shows that
a=n−2k(k−1)≤2k(k+1)−2k(k−1)=k
Hence b=k−a+1≥1. Thus a and b are both positive integers and
f(a,b)=21(a+b−1)(a+b−2)+a=2k(k−1)+a=n
This shows that every natural number is in the range of f. Thus f is also onto. We conclude that f is a bijection.