Here, we have n(A)=4 and n(B)=5.
Clearly n(A)<n(B)
So, the total number of functions =5×5×5×5
=54=625
The total number of one-one functions
=5×4×3×2=120
∴ Number of many one functions = total number of functions - number of one one functions
=625−120=505
So, N101=5