Sets, Relations & Functions


Shared context
N={0,1,2,…}; h:N×N→N is h(a,b)=(2a+1)2^b−1.
Answer & solution
Answer: h is injective. (no official key was published)
1. Assume h(a,b)=h(c,d). Adding 1 gives (2a+1)2b=(2c+1)2d, where both parenthesized factors are odd positive integers.
2. If b<d, divide by 2b. The left side is odd and the right side, (2c+1)2d−b, is even, a contradiction. The symmetric argument rules out d<b.
3. Thus b=d. Cancelling 2b gives 2a+1=2c+1, so a=c.
4. Equality of images has forced equality of both coordinates, exactly the definition of injectivity. The argument also covers zero coordinates, since 20=1 and 2·0+1 is odd.