Author Topic: Simple problem?  (Read 4105 times)

0 Members and 1 Guest are viewing this topic.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Simple problem?
« on: August 28, 2006, 08:26:54 pm »
In how many distinct ways can three purple and two pink balls be arranged in a row?

I think you guys can figure it out pretty easily... but I'm too stupid to so help :P!
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Simple problem?
« Reply #1 on: August 28, 2006, 09:38:48 pm »
Six.

P = purple
I = pink

PIPIP
PIPPI
PIIPP
IPPPI
IPPIP
IIPPP

Incidentally, there's an easier way than thinking about every combination.  Multiply the two numbers.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Simple problem?
« Reply #2 on: August 29, 2006, 02:09:25 am »
What about PPIPI, PIIPP, PPIIP, etc?
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Simple problem?
« Reply #3 on: August 29, 2006, 05:30:45 am »
deadly got owned.

Incidentally, Ergot, PIIPP was included. Also, PPIIP is simply PIIPP backwards, but I don't know if you want those or not.

I think the formula deadly gave is the "I have X pairs of pants and Y shirts. How many outfits can I make?" formula. Going by that, we assume the days he's wearing shirts he won't wear pants, and vise versa. Sure, Ergot would like that, but..
« Last Edit: August 29, 2006, 05:33:37 am by Joe[x86] »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Simple problem?
« Reply #4 on: August 29, 2006, 09:34:49 pm »
10, I think?  That includes ones that are backwards-versions of other ones:

PPPII
PPIPI
PIPPI
IPPPI
PPIIP
PIPIP
IPPIP
PIIPP
IPIPP
IIPPP

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Simple problem?
« Reply #5 on: August 29, 2006, 10:48:08 pm »
That's a combination or permutation or some shit like that. :(
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Ender

  • x86
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Simple problem?
« Reply #6 on: August 29, 2006, 11:40:13 pm »
It's ten. The algebraic way of doing this (combinations) is 5! / (3!2!). There are 5! permutations and you have to divide by 3! because there are 3! arrangements of three purple balls in a row and 2! arrangements of the whatever-color ball in a row and those produce non-distinct permutations.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Simple problem?
« Reply #7 on: August 30, 2006, 12:08:55 am »
It's ten. The algebraic way of doing this (combinations) is 5! / (3!2!). There are 5! permutations and you have to divide by 3! because there are 3! arrangements of three purple balls in a row and 2! arrangements of the whatever-color ball in a row and those produce non-distinct permutations.
OMG YOU'RE SO SMART x_x! I never learned that in algebra :(.
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Simple problem?
« Reply #8 on: August 30, 2006, 09:40:00 am »
Hehe. I forgot everything I learned in pre-calc already. :(
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Simple problem?
« Reply #9 on: August 30, 2006, 12:57:33 pm »
I forgot how to figure premutations. :(
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Ender

  • x86
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Simple problem?
« Reply #10 on: November 08, 2006, 07:05:33 pm »
You forgot how to spell them, too.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Simple problem?
« Reply #11 on: November 10, 2006, 12:30:02 pm »
Either that or he really doesn't know how to recognize the factors preceding a mutation :P