|
Toasty
|
06-30-2004, 12:51 PM
Post subject: Toasty's Math Puzzel 1
|
#1 (permalink)
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
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.
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
Play for FREE and practice your game at...
Join the FTR Poker Forum to disable these banners and start posting!
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
God, years since I did this, My guess would be 20, (5!/3!)
|
|
|
|
heatman
|
|
Flush
Join Date: Apr 2004
Posts: 312
|
|
Fifteen.
|
|
"Limit poker is a science, but no-limit is an art..."
|
|
heatman
|
|
Flush
Join Date: Apr 2004
Posts: 312
|
|
I mean, fifteen?
|
|
"Limit poker is a science, but no-limit is an art..."
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
No correct answers so far.
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
heatman
|
|
Flush
Join Date: Apr 2004
Posts: 312
|
|
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?
|
|
"Limit poker is a science, but no-limit is an art..."
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
You have to use all three colors, but you can use 1 color more than once, obviously otherwise it would be impossible :P
RRRBG
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
153 Just a random guess.
|
|
|
|
jmrogers7
|
|
Full House
Join Date: Feb 2004
Posts: 1,112
|
|
1800
|
|
"The urge to gamble is so universal and it's practice is so pleasurable, that I assume it must be evil." - Heywood Broun
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
The answer is 42
|
|
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
Quote:
|
Originally Posted by xbones
The answer is 42
|
Nope
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
Yeah
|
|
Join Date: Jun 2004
Posts: 70
|
|
Is it a trick question??
6 - would be my answer if it was
|
|
|
|
Yeah
|
|
Join Date: Jun 2004
Posts: 70
|
|
nevermind, didn't read the example -
|
|
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
158
|
|
|
|
Humphrind
|
|
4-of-a-Kind
Join Date: May 2004
Location: Kansas City
Posts: 1,887
|
|
I am assuming order matters.
As in red, red, blue, blue, green different from green, blue, blue, red, red
Is this true?
|
|
I don't know what they have to say
It makes no difference anyway.
Whatever it is...
I'm against it.
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
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
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
heatman
|
|
Flush
Join Date: Apr 2004
Posts: 312
|
|
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.
|
|
"Limit poker is a science, but no-limit is an art..."
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
Quote:
|
Originally Posted by xbones
158
|
I meant 148
|
|
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
Heatman's method would give him the answer but he has missed something.
XBones Is close but no cigar
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
heatman
|
|
Flush
Join Date: Apr 2004
Posts: 312
|
|
I'm all in!
|
|
"Limit poker is a science, but no-limit is an art..."
|
|
heatman
|
|
Flush
Join Date: Apr 2004
Posts: 312
|
|
Thats my usual response when the math gets too hard!
|
|
"Limit poker is a science, but no-limit is an art..."
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
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
|
|
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
Case 1 is incorrect
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
Yeah
|
|
Join Date: Jun 2004
Posts: 70
|
|
147 ( 120+27 )= 147
|
|
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
Yeah - You are close, you have made a mistake and I know what it is as I done the same thing
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
xbones
|
|
Flush
Join Date: Apr 2004
Location: Isle of Man, GB
Posts: 264
|
|
Ah, 10 * 2 so is it 150?
|
|
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
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
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|
|
vasumi
|
|
Join Date: Jul 2004
Location: Slower Lower Delaware
Posts: 18
|
|
very cool
|
|
|
|
|
|
|
|
{This post has been removed}
|
|
|
|
LockLow34
|
|
Flush
Join Date: Jun 2004
Location: Ashburn, VA
Posts: 266
|
|
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
|
|
|
|
Toasty
|
|
4-of-a-Kind
Join Date: Apr 2004
Location: England UK
Posts: 1,522
|
|
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.
|
|
Poker is all about the long long long long long long long term . . .
Barney's back . . . back again . . .
|