five balls of different colours are to be placed in three different boxes such that any box contains atleast one ball . find maximum number of different ways to do this
No formal approach....just said that all possible combinations can be written as 2^8 - 1 = 255 (2^8 since each coin can be either selected or not selected, and -1 for the case of no coin selected) and then I tried to eliminate whatever overlaps were there (wherever multiple such combos give the same total) and the only case I found was 1+2 = 3 (all the other coin values are greater than the sum of all smaller coins! so no overlap possible) So 1 case was double counted and I minused it to get 254. Dunno if there is a "formal" way to solve... regards scrabbler
five balls of different colours are to be placed in three different boxes such that any box contains atleast one ball . find maximum number of different ways to do this90120150180