#How could I get the answer for this

68 messages · Page 1 of 1 (latest)

drowsy lion
#

Carol has 4 different marker colors. How many ways can Carol create a box of 6 markers? The thing says it’s 84, however none of the formulas for combinations I know get that (and Google isn’t much help) . How would I derive this answer, and is there some formula for x different colors and y markers (I could probably just brute force but for time’s sake a formula would be better)

jagged islandBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with: ```diff
    +close
lofty geyser
lofty geyser
#

Check your book on permutations

quasi anchor
lofty geyser
#

We just need to find out in how many ways of 6 we can mix them

#

So one way will be let's say blue, blue, blue, blue, blue, blue

#

Another will be red,red,red,red,red,red

quasi anchor
#

ohh

lofty geyser
#

So now

#

How many combinations can we make

#

Idk that

#

Do you know

quasi anchor
#

so this is a combination problem not a permutation problem

lofty geyser
#

Idk the difference

#

Haven't studied that

quasi anchor
#

in combination order doesn't matters, for example ab and ba are considered the same
in permutation order matters, so for example ab and ba are considered different

lofty geyser
#

Oh okay

#

Makes sense

#

So isnt this a permutation

#

Order matters

#

Blue,red,blue,blue,blue,blue

#

And red,blue,blue,blue,blue,blue

#

This is different

#

Wait

#

idk

#

This is a combination okay

#

I understand

quasi anchor
#

yea it's combination in my opinion

lofty geyser
#

Ye

#

So how many can there be

#

No

#

It's a goddamn permutation

quasi anchor
#

how?

lofty geyser
#

Lemme think

#

My gut says permutation

#

Not my brain

quasi anchor
#

it just says mix

#

so order doesn't matter

lofty geyser
#

Yea

#

It's a combination

#

So how do you solve this

quasi anchor
#

I actually know a formula

#

for combination with repetition

lofty geyser
#

Which is?

quasi anchor
#

C(n,r) = (n+r-1)!/r!(n-1)!
here n = 4, and r = 6

lofty geyser
#

Hm

#

Lemme solve it

#

,w 9!

lofty geyser
#

Well

#

Wait

#

,w 9!/(6!(3!))

#

no

lofty geyser
#

OH YAH

#

It's 84

quasi anchor
#

yea as OP said

lofty geyser
#

Yep

#

@drowsy lion swindle got your formulae+answer

drowsy lion
vapid sableBOT
#

@drowsy lion has given 1 rep to @quasi anchor

drowsy lion
#

+close