| Author |
Message |
|
Posted: Wed, 30 Jun 2004, 8:51am Post subject: Toasty's Math Puzzel 1
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
I thought I'd liven up the forum a little with some off topic stuff.
Scenario:
There are five fence pannels and three pots of paint. One Blue, one Red and one Green. Every panel needs to be painted.
Example
Blue Blue Red Red Green
How many ways can you paint the fence panels using all three colors?
There is more than enough paint. |
Last edited by Toasty on Wed, 30 Jun 2004, 9:37am; edited 1 time in total
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 9:14am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
| God, years since I did this, My guess would be 20, (5!/3!) |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 9:33am Post subject:
|
|
|
Flush

Joined: 06 Apr 2004
Posts: 312 WPP: 289
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 9:34am Post subject:
|
|
|
Flush

Joined: 06 Apr 2004
Posts: 312 WPP: 289
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 9:36am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
| No correct answers so far. |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 9:38am Post subject:
|
|
|
Flush

Joined: 06 Apr 2004
Posts: 312 WPP: 289
|
|
Point of clarification...
Is it okay to have all panels the same color, or do you mean you have to use all three colors? i.e. is Blue, Blue, Blue, Blue, Blue an option? |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 9:57am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
You have to use all three colors, but you can use 1 color more than once, obviously otherwise it would be impossible
RRRBG |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:02am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:03am Post subject:
|
|
|
Full House

Joined: 04 Feb 2004
Posts: 1112 WPP: 114
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:05am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:08am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
| xbones wrote: | | The answer is 42 |
Nope  |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:18am Post subject:
|
|
|
3-of-a-Kind

Joined: 18 Jun 2004
Posts: 70 WPP: 137
|
|
Is it a trick question??
6 - would be my answer if it was |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:20am Post subject:
|
|
|
3-of-a-Kind

Joined: 18 Jun 2004
Posts: 70 WPP: 137
|
|
| nevermind, didn't read the example - |
Last edited by Yeah on Wed, 30 Jun 2004, 10:35am; edited 1 time in total
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:31am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:39am Post subject:
|
|
|
4-of-a-Kind

Joined: 04 May 2004
Posts: 1887 WPP: 103
Location: Kansas City
|
|
I am assuming order matters.
As in red, red, blue, blue, green different from green, blue, blue, red, red
Is this true? |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:45am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
No one has it yet but someone has come close.
Its visually based, as long as another isn't visually the same and uses 3 colors it counts, i.e. RRRBG - GBRRR - RRRBG - GGGBR |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:50am Post subject:
|
|
|
Flush

Joined: 06 Apr 2004
Posts: 312 WPP: 289
|
|
So, if you didn't have to use all three colors, I think the answer is 243.
You've got three choices for each panel. Since order matters, these are independent choices, ie you've got three choices for panel 1, then for each color you pick for panel 1, you've got three choices for panel 2, or nine different combinations for two panels, then for each one of these you've got three choices for panel 3, etc. etc. etc. Thats 3X3X3X3X3 = 3^5 = 243
Then, you have to figure out how many 2 color and one color combinations there are. There are 3 one color combinations. That means we're down to 240.
Using the same reasoning above, I'd guess there are 2^5 = 32 two color comos. So my new, and final guess is 208. |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:54am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 10:58am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
Heatman's method would give him the answer but he has missed something.
XBones Is close but no cigar  |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:02am Post subject:
|
|
|
Flush

Joined: 06 Apr 2004
Posts: 312 WPP: 289
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:03am Post subject:
|
|
|
Flush

Joined: 06 Apr 2004
Posts: 312 WPP: 289
|
|
Thats my usual response when the math gets too hard!  |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:06am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
My reasoning is:
I can have 1, 2 or 3 Reds.
Case 1 : 3 reds; there are 9 diff ways 3 reds can be on the fences, and only (2^2)-2 = 2 ways the rest can be Chosen, hence 9*2= 18
Case 2 : 2 Reds 10 diff ways , and (2^3)- 2 = 6 hence 10*6 = 60
Case 3 : 1 red Can be in 5 places, and (2^4)-2 = 14 hence 5*14 = 70 |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:26am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
Case 1 is incorrect  |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:27am Post subject:
|
|
|
3-of-a-Kind

Joined: 18 Jun 2004
Posts: 70 WPP: 137
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:34am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
Yeah - You are close, you have made a mistake and I know what it is as I done the same thing  |
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:37am Post subject:
|
|
|
Flush

Joined: 11 Apr 2004
Posts: 264 WPP: 43
Location: Isle of Man, GB
|
|
|
|
|
|
Posted: Wed, 30 Jun 2004, 11:50am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
and we have a winner!!!
We have 3 colors and 5 panels.
Step 1
Total combinations therefore are 3^5=243
Step 2
We now need to remove all the combinations where only 2 or less are used.
2^5=32 We have 3 combinations of paint Red/Blue Red Green Blue/Green
(2^5)*3=96
243-96=147
Step 3
We now have 147 however in step two we removed all red/blue/green combinations twice. i.e. once for Red/Blue and once for Red/Green which would remove RRRRR twice.
We add this 3 back to arrive at 150
Answer = 150 |
Last edited by Toasty on Thu, 01 Jul 2004, 3:16am; edited 1 time in total
|
|
|
|
|
Posted: Thu, 01 Jul 2004, 1:53am Post subject:
|
|
|
One Pair

Joined: 01 Jul 2004
Posts: 18 WPP: 857
Location: Slower Lower Delaware
|
|
|
|
|
|
Posted: Thu, 01 Jul 2004, 2:49am Post subject:
|
|
|
Strike 3

Joined: 15 Apr 2004
Posts: 2223 WPP: 4
Location: Sacramento
|
|
| {This post has been removed} |
|
|
|
|
|
|
Posted: Thu, 01 Jul 2004, 6:37am Post subject:
|
|
|
Flush

Joined: 06 Jun 2004
Posts: 266 WPP: 130
Location: Ashburn, VA
|
|
Doing a brute force count, it looks like 36...erm, I mean 243...um, I mean 120
Actually one of my early answers was 243, but that seemed like too many and I wasn't awake enough to commit to memory how I arrived at 120:
RRR--
R-RR-
R--RR
RR-R-
RR--R
R--RR
-RRR-
-RR-R
-R-RR
--RRR
that's 10 different positional combinations for any one color, meaning 30 (3*10) different positional combinations if we are given 3 and only 3 colors
for each positional combinations where 3 of one color is present, there are also 2 different positional combinations for each of the other colors
example:
GBRRR
BGRRR
RBGGG
BRGGG
RGBBB
GRBBB
that gives 60 total possibilities when 3 of one color is present
RR---
R-R--
R--R-
R---R
-RR--
-R-R-
-R--R
--RR-
--R-R
---RR
interesting...there are ALSO 10 possible positional combinations when only 2 positions are taken up by one color
That means there are 20 possible positional combinations for each combination of 2 colors, giving 60 (20*3 combinations of 2 colors[RB, RG, BG] holding 2 positions each)
That's 120 possible positional combinations when 2 or 3 colors is present
Tell me what I missed |
Last edited by LockLow34 on Thu, 01 Jul 2004, 8:55am; edited 1 time in total
|
|
|
|
|
Posted: Thu, 01 Jul 2004, 7:03am Post subject:
|
|
|
4-of-a-Kind

Joined: 02 Apr 2004
Posts: 1522 WPP: 82
Location: England UK
|
|
| I actually done a forced count first using 20,000 random numbers five in length between one and three. I then eliminated duplicates to arrive at 243 total combinations. |
|
|
|
|
|
|