It was holi.Five of my friends Harsh, Tavish , Vaibhav, Abhinav and Ambuj were walking through a lane. In the lane 10 of our friends were waiting for them with their watergun and water balloons.Harsh didn't want to get wet.
Let the number of ways in which Harsh didn't get wet be d e .[where d is a square of prime number ]
Let 5 a × c be the number of ways in which at least one of them didn't get wet.
Then find (a+c)-(d+e).
Details and Assumptions
Each of the friend can throw water on any of the five. The 10 friends will not prejudice on the basis that any of the five friends are wet or not.In other words probability of each of the 5 friends to get hit by any of the other 10 in the lane is same.Each of the 10 friends will throw water on only one boy.And yes each one will throw water.
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.
@David Vreken , we really liked your comment, and have converted it into a solution.
By Inclusion-Exclusion, the number of ways where everyone gets wet is k = 0 ∑ 5 ( − 1 ) k ( k 5 ) ( 5 − k ) 1 0 = 5 1 0 3 0 0 0 , so the number of ways where at least one person remains dry is 5 1 0 − 5 1 0 3 0 0 0 = 4 6 6 2 6 2 5 = 5 3 ⋅ 3 7 3 0 1 . Thus, the answer is 3 + 3 7 3 0 1 − ( 4 + 1 0 ) = 3 7 2 9 0 .
@Jon Haussmann , we really liked your comment, and have converted it into a solution.
LET 10 FRIENDS THAT THROW WATER BE REPRESENTED BY F1 AND OTHERS BE REPRESENTED BY F2.
Harsh didn't want to get wet.Which means that only 4 of the friends(F2) can get wet by 10 other friends(F1) so number of ways will be 4 1 0 . Therefore d=4 ; e = 10.
Total number of ways in which friends (F1) can make others wet = 5 1 0 .
Selection of any 5 friends(F2) can be done in 10!/5!5! and this 5 friends(F1) can throw water in 5! ways when none of them throw at a friend(F2) twice.The rest of the five friend(F1) can throw water at any of them and therefore total number of ways is 5 5 .
Hence total number of ways in which everyone(F2) gets wet is[ 5 5 ] [10!/5!5!]. Total number of ways in which at least one doesn't get wet is = Total number of ways - total n.o of ways in which everyone gets wet. => 5 1 0 - 5 5 10!/5!5!.
= 5 5 ( 5 5 -10!/5!5!) = 5 5 (3125-252) = 5 5 (2873) Therefore a=5 and c=2873. = (a+c)-(d+e) =(2873+5)-(10+4) =2878-14=2864
"Harsh didn't want to get wet.Which means that only 4 of the friends(F2) can get wet by 10 other friends(F1) so number of ways will be 4 1 0 ."
Why will number of ways be 4 1 0 ? @Kalash Verma
Log in to reply
Cause the first friend(F1) can wet any of the four. Similarly second can wet any of the four similarly any of the ten friend can wet any of 4of other friend therefore the number of ways will be 4 * 4*4…… ten times that is 4^10. I hope this helps @Harsh Shrivastava
@Calvin Lin @Vaibhav Prasad @Harsh Shrivastava @Gautam Sharma
Got it right!!
Problem Loading...
Note Loading...
Set Loading...
The Python program below finds that Harsh doesn't get wet 1 0 4 8 5 7 6 = 4 1 0 different ways, and at least one of them didn't get wet 4 6 6 2 6 2 5 = 5 3 × 3 7 3 0 1 different ways. Therefore, a = 3 , c = 3 7 3 0 1 , d = 4 , e = 1 0 , and ( a + c ) − ( d + e ) = 3 7 2 9 0 .