I am hoping someone can help me with some math. I am not sure if I am looking for permutations or combinations, so let me know that and the totals if you can.
For all intents and purposes I have an object that has 4 plastic parts and I have 6 colors to choose from.
A. How many variations can I get mixing all colors using all six colors in any 1 part, so each part can be any color and in any combination with the others? Is this a permutation of 720?
B. This is the one I want to use most for the sake of offering a dual color choice. If I want to have the outer body 1 color and the inner body 1 color (so using 2 colors only) but allowing for the 2 colors to be the same. (i.e. you might have black outside and yellow outside, or black inside and black outside, etc.)? Is this a permutation of 36 (30 + 6)?
Is this helpful? https://www.calculator.net/permutation-and-combination-calculator.html
This is just some info I want to use in a Design Talk video I am working on, a new series I am pondering and planning on offering for free on my YouTube channel. Similar you my TurboCAD Tips, but not CAD software specific.

for the full options, you have 6 choices for each part - that equals 6*6*6*6=1296
for the second path you mathematically only have 2 parts (inside and outside) so 6*6=36 options.
and I believe both are combinations - permutations are when the order of choices affects the math. (being dealt straight is a combination, being dealt a straight IN ORDER would be a permutation)
Edd,
Thanks for correction, though my answer is also 1,296, the correct answer 6x6x6x6 is the easy way to compute.
Regards,
Orly
Additional:
My computation is a little bit complicated, but it is good to control code of each combination.
Hi Orlando, Roland,
Here is the correct answer form
There were some problems with moderators blocking on his answer and misreading the actual question (as I did)
Ron wants 4 parts with 6 colors (as explained in the formula of Laplace above) 6x6x6x6.= 1296
In the second situation there are 6 possible colors for inner and 6 for outer: 6x6 = 36
Eddy
@Don : could you mark Jeremiah's answer as correct please?
Sir,
Correct me if I'm wrong, you had 46,656 combination, the binary is for 2, the octal is for 8, you had 6.
the maximum combination is 555555, +1 considering 000000 is a combinations of 1 colors.
5*6^0 = 5
5*6^1 = 30
5*6^2 = 180
5*6^3 = 1,080
5*6^4 = 6,480
5*6^5 =38,880
sum = 5+30+180+1,080+6,480+38,880+1 =46,656 combination.
Correction for 4 plastic parts
5555 is the maximum number, 5 + 30 + 180 + 1,080 + 1 = 1,296 the total combination for 4 plastic parts with 6 colors
4! * 6!
(The "!" is factorial)
" I can post a link here to the presentation, if you would like, when it is complete. "
I would like that and I think I´m not the only one ;-)
Eddy
Here are a couple renders I made for the upcoming presentation. Modeled in SolidWorks, rendered in KeyShot. I can post a link here to the presentation, if you would like, when it is complete.
If outer and inner can be black for instance then you have 6×6= 36 solutions.
Eddy
EDIT: You read the question more carefully. One way or another I stopped reading that line further because of the image (it was blank for me) I didn't see that until you showed it in yellow. Strange things happen...
@Don, You can mark Jeremiah's answer as correct.
.
Thanks Josh
I understood situation A as having no restrictions on the colors.
Eddy
Hi Don,
The difference between the 36 and 30 is that you asked not to have the same color on the outside and on the inside. Therefor you have only 5 colors left for the inside.
Outer part : 6 chocies
Innerpart has 6 choices - 1 = 5
Resulting in 6x5=30
Still permutations. Not combinations. You have two independent choices, each of which with six options. 36 permutations. If red inside plus blue outside was considered the same as red outside plus blue inside, then you would have combinations.
No reason to un-check Eddy's answer. It is correct. Your second situation is exactly the same as the first, just with fewer choices, as pre-noted by Jeremiah, therefore Eddy did not address it.
Good luck with your tutorials!
Thanks Jeremiah, Looks like we have a consensus on the 1296 but not on the 30 / 36 nor on what it is called.
From WordWeb, in part:
Combination:
*A collection of things that have been combined; an assemblage of separate parts or qualities
*The act of arranging elements into specified groups without regard to order
*The act of combining things to form a new whole
Permutation:
*An event in which one thing is substituted for another
*The act of changing the arrangement of a given number of elements
*Complete change in character or condition - i.e. "the permutations...taking place in the physical world"
*Act of changing the lineal order of objects in a group
Based on the help here and what I have continued to read here and there, I think it is a combination, although it may be considered a permutation in some sense, I would think. I think that the # of combinations is 36.
Sorry Eddy, I unchecked your comment as the correct one, so folks can read through the whole thread and offer any other input or make up their own mind based on what they read.
Anyway, thanks for all the help. As always, such a great forum!
Thank you Don for your kind words.
Eddy
Thank You Eddy! I really appreciate the comprehensive nature of your reply, it is just as I hoped it would be - very clear and easy to understand.
Hi Don,
You want permutations because the order is important: every part knows it's place and can have a color.
(for combinations the order is not important)
A.Here you can use the formula of Laplace
6x6x6x6 = 1296. You can think of it as follow: for Part1 you have 6 colors to choose from.
For every Part1 you have 6 Part2's to choose from, thus 6x6.
For every combination of Part1 and Part2, you have 6 Part3's to choose from thus 6x6x6. and so on...
This is represented sometimes by a tree branch, where every branch gets 6 smaller branches.(only the first 2 shown here)
B. you have 2 choices (outer and inner) but outer cannot be the same as inner
Outer part : 6 chocies
Innerpart has 6 choices - 1 = 5 choices. You cannot take the same color again.
so 6x5 = 30 solutions.
The link to the calculator you posted, can be used here
In situation A you cannot use that calculator:
Eddy