Question: are range and codomain the same?
Answer: The Codomain is the set of values that could possibly come out. The Codomain is actually part of the definition of the function. And The Range is the set of values that actually do come out. ... So the codomain is integers (we defined it that way), but the range is even integers.