Let N be the set of natural numbers and the function f:N→N be defined by f(n) = 3n + 1. Consider the following statements:
- f(n) is an injective function.
- f(n) is surjective function.
Which of the above statement(s) is/are correct?
1
Only 1
2
Only 2
3
Both 1 and 2
4
Neither 1 nor 2