Is the function f : Z×{0,1}→ N defined as follows injective? f(z,d) = 2|z|+ d how to
Question
discrete math
Is the function f : Z×{0,1}→ N defined as follows injective? f(z,d) = 2|z|+ d how to
define it?(if can show me formula that will nice and easy to understand for me) Is f surjective?
Math