Answer:
This function is injective only.
Explanation:
N = natural numbers = positive whole numbers equal to or greater than 1.
Therefore
means that both the input and output are natural numbers.
A function is surjective if for every element in the codomain, there is at least one element in the domain.
Therefore, this function is NOT surjective. For example, there is no natural number for x for which f(x) = 2.
A function is injective if for every element in the codomain, there is at most one element in the domain. This is also called "One-to-One".
Therefore, this function IS injective as there is either none or only one value of x for each value in the codomain.