OT - Help with Some Math

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.

SolidworksGeneral
Answers 16
JF
JF 2021-03-26 Best Answer

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)

OS
OS 2021-03-26

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.

Header 1Header 2Header 3Header 4Header 5Header 6Header 7Header 8Header 9Header 10
SEQSIX CODEFRONTSIDE1SIDE2BODY
 1st 0000 BLACKBLACKBLACKBLACKBLACK = 0
 2nd 0001 BLACKBLACKBLACKBROWNBROWN = 1
 3rd 0002 BLACKBLACKBLACKREDRED = 2
 4th 0003 BLACKBLACKBLACKORANGEORANGE = 3
 5th 0004 BLACKBLACKBLACKYELLOWYELLOW = 4
 6th 0005 BLACKBLACKBLACKGREENGREEN = 5
 7th 0010 BLACKBLACKBROWNBLACK
 8th 0011 BLACKBLACKBROWNBROWN
 9th 0012 BLACKBLACKBROWNREDWhat is the color combination of 34th?
 10th 0013 BLACKBLACKBROWNORANGE34/65R4
 11th 0014 BLACKBLACKBROWNYELLOW5/60R5
 12th 0015 BLACKBLACKBROWNGREEN-1
 13th 0020 BLACKBLACKREDBLACK54-153
 14th 0021 BLACKBLACKREDBROWNBLACK,BLACK,GREEN,ORANGE
 15th 0022 BLACKBLACKREDRED
 16th 0023 BLACKBLACKREDORANGEWhat is the sequence number of BLACK, BROWN, RED, GREEN (0125)
 17th 0024 BLACKBLACKREDYELLOW5 * 6^0=5
 18th 0025 BLACKBLACKREDGREEN2*6^1=12
 19th 0030 BLACKBLACKORANGEBLACK1*6^2=36
 20th 0031 BLACKBLACKORANGEBROWN+1=1
 21st 0032 BLACKBLACKORANGERED54TH
 22nd 0033 BLACKBLACKORANGEORANGE
 23rd 0034 BLACKBLACKORANGEYELLOW
 24th 0035 BLACKBLACKORANGEGREEN
 25th 0040 BLACKBLACKYELLOWBLACK
 26th 0041 BLACKBLACKYELLOWBROWN
 27th 0042 BLACKBLACKYELLOWRED
 28th 0043 BLACKBLACKYELLOWORANGE
 29th 0044 BLACKBLACKYELLOWYELLOW
 30th 0045 BLACKBLACKYELLOWGREEN
EA
EA 2021-03-26

Hi Orlando, Roland,

Here is the correct answer form  

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.

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?

OS
OS 2021-03-26

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

RS
RS 2021-03-26

4! * 6!

(The "!" is factorial)

DC
DC 2021-03-26
Hi Eddy,
The new series....
 
Welcome to Design Talk - Notchbox. This is the first of a new series where I will present product designs that I have created from scratch, or ones based on products I have seen in the world at large and find interesting or inspirational.
 
Link to free to watch video: https://www.youtube.com/watch?v=_Ym4iwV6018
comment imagecomment image
EA
EA 2021-03-26

" 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

DC
DC 2021-03-26

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. 

comment imagecomment imagecomment imagecomment image
EA
EA 2021-03-26

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.

.

EA
EA 2021-03-26

Thanks Josh

I understood situation A as having no restrictions on the colors.

Eddy

EA
EA 2021-03-26

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

JB
JB 2021-03-26

Don Cheke wrote:

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!

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!

DC
DC 2021-03-26

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!

EA
EA 2021-03-26

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.

Thank you Don   for your kind words.

Eddy

DC
DC 2021-03-26

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.

EA
EA 2021-03-26

Hi Don,

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

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:

 this calculator does not compute the case where the combination lock can have repeated values, for example 3-3-3.

Eddy

comment imagecomment imagecomment imagecomment image