This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Each element is the domain will have a choice to become anything in the co-domain through the function, except itself. Therefore each of the n elements in the domain will have n − 1 choices. Thus the answer = ( n − 1 ) n