Number of functions of k-arity
I want to find the number of possible functions acting on k elements if the possible values of s and are .
My thoughts: , . It's possible to imagine a tabular with each possible value of the input and so having in total rows. Now the values that can take are again between n option for each row, and so I get possible function. Is that true?