Home » Ask & Discuss » Mathematics. » Algebra « Back to Discussion
Algebra
n balls are picked, one by one from four urns each containing n identical balls of green, red, white and blue colours. The number of ways, when no two consecutive pickings are from same urn and balls of all the colours are picked,
Comments (7)
the number of ways of picking up the first ball is 4, the number of ways of picking up the second one is 3 (leaving the color picked first), the third one can be picked up in another 3 ways (leaving the color picked up in the 2nd pick) and so on ....we have
4.3n-1......1) ways of picking up such balls...but we have not ensured that balls of all colours are picked up....only ensuring that alternating colored balls are picked up.
total number of ways in which we can make the same procedure with just 3 colors is agin done the same way...
there are 4C3 ie 4 ways of choosing those 3 colors from 4 colors...first ball in 3 ways second in 2 ways and so on...we have 3.2n-1.....
so 4.3.2n-1.........2)
now the total number of ways in which we can make the same construction with 2 balls is...
there are 4C2=6 ways of choosing 2 colors from 4 colors...
and the same ways the first ball can be picked in 2 ways and the rest of the n-1 balls in 1 way each...
so 6.2 ways........3)
now by inclusion exclusion principle we have the total number of such selections is
1)-2)+3)
=4.3n-1-12.2n-1+12
=12(3n-2-2n-1+1) ways
cheers!!!














replies pleaseeee