How many surjective functions exist from the set $A= \{1,2,3,4,5,6\}$ (Domain) to the set $B=\{w,x,y,z\}$ (Image).
I have no idea on how you do this. Any hints would be helpful.
I know that I can begin with $4^6$ functions and exclude the non surjective ones, but I don't know how you do this.