Let S be the set of all strings of a’s and b’s, and define
Chapter 7, Problem 24E(choose chapter or problem)
Problem 24E
Let S be the set of all strings of a’s and b’s, and define N: S → Z by
N ( s ) = the number of a’s in s, foralls ∈ S.
a. Is N one-to-one? Prove or give a counterexample.
b. Is N onto? Prove or give a counterexample.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer