As given in numerous websites, the definition of combination and permutation all one to count different assortments.
My question is that what are the conditions necessary for the simplest (or simple if it is too specific) for a permutation or combination to be applicable? For example- and probably my biggest concern-(Do tell if it is a necessary condition), do the elements in the list need to be indistinguishable to compute one $\binom{n}{k}$? Can elements repeat? Etc...
I ask this because of a question that I have posted (Read the comments of Andre Nicolas's answer for clarification) There are $6$ types of cookies. How many different packs of $3$ cookies can the baker package?
The following information could be useful:
Functions: $f$ may be arbitrary, injective, surjective giving three different possibilities.
Sets: Elements of $N,X$ may be either distinguishible or indistinguishible resulting in four different possibilities.
I recommend a thorough study of this instructive section.