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
The total number of functions is nn.
The number of one-one function is n!.
∴ Required probability =n!nn=332=664=24256=4!44
∴n=4