The onto function from the set
{ 1,2,3,...,n } to itself is the permutation of n symbols that is from 1 to n.
Thus, the total number of onto maps from { 1,2,3,...,n } to itself is equal to the total permutation of n symbols that is from 1 to n numbers that is n.
A function is selected from all functions on set S = {1, 2, 3,.... n} to itself. If the probability that it is one-one is 332, then n is equal to ___.