To restate using some notation: Define \(\displaystyle f:\mathbb{N}\times\mathbb{N}\to\mathbb{N}\) by \(\displaystyle f(i,j) = 2^{i-1}(2j-1)\).
To prove that it is one-to-one, assume not. Then there must exist \(\displaystyle i,j,i',j'\) such that \(\displaystyle f(i,j)=f(i',j')=2^{i-1}(2j-1)=2^{i'-1}(2j'-1)\). Take log base 2 of both sides: \(\displaystyle i-1+\log_2{(2j-1)}=i'-1+\log_2{(2j'-1)}\), and thus \(\displaystyle i-i'=\log_2{(2j-1)}-\log_2{(2j'-1)}=\log_2{\frac{2j-1}{2j'-1}}\). \(\displaystyle (i-i')\in\mathbb{Z}\). But, neither \(\displaystyle 2j-1\) nor \(\displaystyle 2j'-1\) can be divisible by 2. The only integer power of 2 that is not divisible by 2 is \(\displaystyle 2^0\). Therefore, \(\displaystyle \log_2{\frac{2j-1}{2j'-1}}=0=i-i'\Rightarrow i=i'\). It is not hard to show from there that \(\displaystyle j=j'\).
To prove onto, let \(\displaystyle n\in\mathbb{N}\). Let \(\displaystyle i-1\) be the highest power of 2 that divides \(\displaystyle n\). Thus, there must exist \(\displaystyle k\in\mathbb{N}\) such that \(\displaystyle 2^{i-1}*k=n\) and 2 cannot divide \(\displaystyle k\) (otherwise \(\displaystyle i-1\) would not be the highest power of 2 that divides \(\displaystyle n\)). Since 2 does not divide \(\displaystyle k\), 2 must divide \(\displaystyle k+1\). Thus, there must exist \(\displaystyle j\in\mathbb{N}\) such that \(\displaystyle 2j=k+1\). Now, \(\displaystyle f(i,j)=n\) as desired.