A function f from {1, 2, 3, 4} to {1, 2, 3} gives each of the numbers 1, 2, 3 and 4 a value 1, 2 or 3. For how many such functions is f(1) + f(2) + f(3) + f(4) = 8? Two functions are different when they differ at even one point. | StemPy Lab
A function f from {1,2,3,4} to {1,2,3} gives each of the numbers 1, 2, 3 and 4 a value 1, 2 or 3. For how many such functions is f(1)+f(2)+f(3)+f(4)=8? Two functions are different when they differ at even one point.