Final answer:
The function f(n) = 2n is not an onto function because it only produces even integers as outputs, leaving all odd integers in the codomain without a pre-image in the domain.
Step-by-step explanation:
The question asks if the function f(n) = 2n is an onto function when n takes integer values. An onto function, also known as a surjective function, is a function where every element in the codomain has at least one pre-image in the domain. In this case, the domain is the set of integers, and the function doubles each integer. However, since only even integers are produced as outputs, it means that all odd integers in the codomain will not have a pre-image in the domain. Therefore, the function f(n) = 2n is not an onto function.