Question 930372
The total number of functions is 4^4 = 256. The number of onto functions turns out to be 4! = 24 since the domain and range both have size 4, and assuming 45, 46, 47, 48 are mapped, the function must be bijective. Then the number of functions that are not onto is 256-24 = 232.