Does a polynomial in two variables which establishes a bijection between the points with nonnegative integer coordinates and natural numbers exist? porve it
Asked
Active
Viewed 127 times
-1
-
3Could you show us your attempt(s) at solving this? – shardulc May 19 '16 at 08:48
-
i think the anser is P(x,y)=x+y. but i dont know how to prove it or if i get the anser. – heyThere May 19 '16 at 08:54
-
@heyThere: That is not a bijection -- $P(1,2)=P(2,1)$. – hmakholm left over Monica May 19 '16 at 08:55
2 Answers
0
The standard "zig-zag" bijection $\mathbb N\times \mathbb N\to \mathbb N$ (which corresponds to enumerating the pairs in order of increasing sum, and between pairs with the same sum in order of the first element) is polynomial.
I will leave it to you to derive the precise coefficients (which will depend on whether $0\in\mathbb N$ for you anyway) -- you will need to use the formula for the triangular numbers $\frac{n(n+1)}2$, which can give you the number of pairs with a smaller sum than the one you're looking at.

hmakholm left over Monica
- 286,031