Maaaath!

I'm wondering what the equation is for finding out how many possible variants you can have based on multiple layers of something.

Basically, how many different slime combinations can I create with 13 light shades, 32 eyes, 20 mouths and 24 misc.

Would be fun to know 😛
Just multiply all the numbers together.
I thought so too at first, but then I found a bunch of algebra stuff when I googled. It all looked so complicated xD

In that case, almost 200k 😳 And you can even mix several light shades or misc stuff.
If I take my limited color palette into consideration its like 2396160 combinations 😀
Assuming that you only use exactly one each of light shades, eyes, mouths, and misc, the answer is 13 x 32 x 20 x 24 = 199680.

If eyes can be different for left and right eyes, the eyes multiplier would be 32 x 32 = 1024 instead of just 32, bringing the total to 6389760

As for misc, if you can use more than one, the multiplier would be 24!/(n!(24 - n)!), where n is the number of misc you use.

So when using only one, there are 24 combinations. When using 2, the number of possible combinations increases to 24!/(2!(24-2)!) = 276, when using 3, 24!/(3!(24-3)!) = 2024, and so on. If using 1~3 misc, the total multiplier would be 24 + 276 + 2024 = 2324 different combinations.

Once you figure out the multipliers for each part just multiply them together for the final total.
And you can even mix several light shades or misc stuff.
then you have more variants.
the simple multiplication requires limiting to one piece of each, if you allow for multiple pieces then the formulae become mucht more complicated - which is what you probably had found in that math text.
I thought so too at first, but then I found a bunch of algebra stuff when I googled. It all looked so complicated xD
Some of that is to eliminate the possibility of duplicates.

For example, when you're just talking about numbers, if you were, say, rolling 4 dice the results
1, 3, 2, 6
and
3, 1, 6, 2
(and all other possible orderings of those values)
are two different sets when just multiplying it out, but are numerically identical and for some purposes it would be desirable to only count them once.
Thanks everyone, my head hurts now 😛

I just wanted a rough ballpark estimate for fun really.

I will most likely advertise the Eyes x Mouth x Some of the misc stuff maybe. Those are usually the most meaningful options, especially on this particular monster. I don't have room for much arms or legs and such.

Original thread: https://forums.rpgmakerweb.com/threads/maaaath.162161/