Can Cinderella avoid dancing with her stepfamily?

Level pending

Ref: Disney Japan

Cinderella is at a ball with 49 other people. While dancing, they form 25 pairs (with 2 people in each pair). However, Cinderella really wants to avoid her evil stepmother and 2 ugly stepsisters (total of 3 people), and does not want to dance with any of them.

If there are N N ways to form 25 pairs for dancing in which Cinderella doesn't have to dance with any of her stepfamily, what are the last 3 digits of N N ?

Details and assumptions

There are no gender restrictions for the dancing pairs.

The order of the pairs does not matter.

Calculators are allowed for this question. I'm not that mean ^_^.


The answer is 750.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Let me make a function to make this solution shorter.

Let P ( n ) P(n) is the number of ways to get 2 n 2n people into n n pairs.

Put all the people into lines. x 1 1 , x 1 2 , x 2 1 , x 2 2 , . . . , x n 1 , x n 2 x_{1_{1}}, x_{1_{2}}, x_{2_{1}}, x_{2_{2}}, ..., x_{n_{1}}, x_{n_{2}} .

So ( x 1 1 , x 1 2 ) (x_{1_{1}}, x_{1_{2}}) will dance together, and so on.

Ex: ( x 3 2 2 ) = (x_{32_{2}}) = Pair 32. Position 2.

  • Switching 2 n 2n people in a line (fixed position), ( 2 n ) ! (2n)! ways.

  • In position ( x 1 1 , x 1 2 ) (x_{1_{1}}, x_{1_{2}}) , they can switch together again, which is the same. Ex: ( x 1 1 , x 1 2 ) (x_{1_{1}}, x_{1_{2}}) and ( x 1 2 , x 1 1 ) (x_{1_{2}}, x_{1_{1}}) .

  • There're n n pairs that can switch together, divide by ( 2 ! ) n (2!)^{n} .

  • In position ( x 1 , x 2 ) (x_{1}, x_{2}) (pair 1 and 2), they can switch to another position, which is the same. Ex: ( x 1 , x 2 ) (x_{1}, x_{2}) and ( x 2 , x 1 ) (x_{2}, x_{1})

  • There're 2 n 2 = n \frac{2n}{2} = n pairs that can switch to another position in a line, divide by ( n ) ! (n)! .

Therefore, P ( n ) = ( 2 n ) ! n ! × ( 2 ! ) n P(n) = \frac{(2n)!}{n!\times (2!)^{n}}

Let's get back to the question.

Use complement principle to find the number of ways.

A = U A |A'| = |U| - |A| . Where A A is the set of number of ways that Cinderella dances with any 3 villains.

  • U |U| is the total ways to get 50 people into 25 pairs, total ways = P ( 25 ) = P(25) .

Finding A |A| .

  • First, Cinderella dances with 3 villains, 3 3 ways to choose.

  • Then, there'll be 48 people left. Number of ways to get 48 people into 24 pairs = P ( 24 ) = P(24) .

  • Therefore: A = 3 × P ( 24 ) |A| = 3\times P(24) .

Therefore: Number of ways that Cinderella doesn't dance with any 3 villains

= P ( 25 ) 3 × P ( 24 ) = P(25) - 3\times P(24)

= 50 ! 25 ! × ( 2 ! ) 25 3 × 48 ! 24 ! × ( 2 ! ) 24 = \frac{50!}{25!\times (2!)^{25}} - 3\times \frac{48!}{24!\times (2!)^{24}}

= 54858136867623969682835751468750 = 54858136867623969682835751468750 .

Answer: 750 \boxed{750} ~~~

I'll make more questions related to Disney! XD

Samuraiwarm Tsunayoshi - 7 years, 5 months ago
Santanu Banerjee
Jan 6, 2014

very clear, easy to see the thought process

Josh Silverman Staff - 7 years, 5 months ago

Log in to reply

Yes I made it "" see through "" for that very reason

Santanu Banerjee - 7 years, 5 months ago

I should have just multiplied by 46... XD. Btw, nice one!

Samuraiwarm Tsunayoshi - 7 years, 5 months ago

Log in to reply

Hope the new Disney problems come soon

Santanu Banerjee - 7 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...