1

Define $A := \{(a,b) \in \mathbb{N}^2 \, \mid \, \gcd(a,b) = 1 \text{ and } 1 \le a < b\}$.

Does a bijection exist between $A$ and $\mathbb{N}$?

I tried the following map:

Let $g: \mathbb{N} \to A$ such that $$\begin{equation*} g(n) =\left\{ \begin{array}{ll} (1,n), \quad \text{iff } n = p^k, \text{ for some } 2 \le k \in \mathbb{Z}^{\ge 0} \text{ and } p \in \mathbb{N}\\ (a,b), \quad \text{iff } n \ne p^k \text{ for any } k \in \mathbb{Z}^{\ge 0} \text{ and } p \in \mathbb{N}, n = ab \text{ with largest factor } b>a, \text{ and } \gcd(a,b) = 1 \end{array} \right. \end{equation*} $$

For example, $g(28) = (4,7)$. Also, $g(100) = (1,100)$ because $10^2 = 100$.

Questions:

  • What is the explicit inverse of $g$?
  • Furthermore, can someone simplify the definition of $g$?
  • Is $g$ a bijective map? I proved it, but I want to ensure that my map is "ok." If anyone wants to see the proof, let me know.

Why am I interested in this?

I want to make $A$ into a group with a well-defined operation $\star$. I used this post for reference. However, it is not important to make $A$ into a group, but to make a bijection from $A$ to $\mathbb{N}$, because it's the only thing I am confused about from curiosity.

Edit

Using the comments below, how about changing $g$ to

$$\begin{equation*} g(n) =\left\{ \begin{array}{ll} (1,n), \quad \text{iff } n = p^k, \text{ for some } 2 \le k \in \mathbb{Z}^{\ge 0} \text{ and } p \in \mathbb{N}\\ (a, \frac{n}{a}), \quad \text{iff } n \ne p^k \text{ for any } k \in \mathbb{Z}^{\ge 0} \text{ and } p \in \mathbb{N}, \gcd(a,\frac{a}{n}) = 1, \text{ and } a \in \min_{x \in \mathbb{N}} \{x \text { divides } n \text{ and } x \ge 2\} \end{array} \right. \end{equation*} $$

0 Answers0