Solveeit Logo

Question

Question: Tanuj has 9 relatives, 5 of them are Ladies and 4 Gentlemen; his wife has also 9 relatives, 4 of the...

Tanuj has 9 relatives, 5 of them are Ladies and 4 Gentlemen; his wife has also 9 relatives, 4 of them are Ladies and 5 Gentlemen and there are no common relatives for Tanuj and his wife. If the number of ways they can invite a dinner party of 4 Ladies and 4 Gentlemen so that there are 4 of the Tanuj relatives and 4 of his wife's relatives is m then sum of digits of m equals to

A

19

B

18

C

20

D

17

Answer

19

Explanation

Solution

Let TL=5T_L=5 and TG=4T_G=4 be the number of ladies and gentlemen among Tanuj's relatives, respectively. Let WL=4W_L=4 and WG=5W_G=5 be the number of ladies and gentlemen among his wife's relatives, respectively.

The party needs to have 4 ladies and 4 gentlemen. Also, 4 guests must be from Tanuj's relatives and 4 from his wife's relatives.

Let tlt_l and tgt_g be the number of ladies and gentlemen invited from Tanuj's relatives. So, tl+tg=4t_l + t_g = 4.

Let wlw_l and wgw_g be the number of ladies and gentlemen invited from his wife's relatives. So, wl+wg=4w_l + w_g = 4.

The total number of ladies in the party is 4: tl+wl=4t_l + w_l = 4. The total number of gentlemen in the party is 4: tg+wg=4t_g + w_g = 4.

From these equations, we get wl=4tlw_l = 4 - t_l and wg=4tgw_g = 4 - t_g. Also, substituting tl=4tgt_l = 4 - t_g into tl+wl=4t_l + w_l = 4, we get (4tg)+wl=4(4 - t_g) + w_l = 4, which implies wl=tgw_l = t_g. Similarly, substituting tg=4tlt_g = 4 - t_l into tg+wg=4t_g + w_g = 4, we get (4tl)+wg=4(4 - t_l) + w_g = 4, which implies wg=tlw_g = t_l.

We need to find the number of ways to choose tlt_l ladies from Tanuj's 5 ladies and tgt_g gentlemen from Tanuj's 4 gentlemen, such that tl+tg=4t_l + t_g = 4. The number of ways for Tanuj's selection is 5Ctl×4Ctg{}^5C_{t_l} \times {}^4C_{t_g}. Simultaneously, we need to choose wl=tgw_l = t_g ladies from his wife's 4 ladies and wg=tlw_g = t_l gentlemen from his wife's 5 gentlemen. The number of ways for his wife's selection is 4Cwl×5Cwg=4Ctg×5Ctl{}^4C_{w_l} \times {}^5C_{w_g} = {}^4C_{t_g} \times {}^5C_{t_l}.

The total number of ways for a specific pair (tl,tg)(t_l, t_g) is (5Ctl×4Ctg)×(4Ctg×5Ctl)({}^5C_{t_l} \times {}^4C_{t_g}) \times ({}^4C_{t_g} \times {}^5C_{t_l}).

We consider all valid combinations of (tl,tg)(t_l, t_g) such that tl+tg=4t_l + t_g = 4, and the selections are possible: 0tl50 \le t_l \le 5, 0tg40 \le t_g \le 4, 0wl40 \le w_l \le 4, 0wg50 \le w_g \le 5. These constraints imply 0tl40 \le t_l \le 4.

Case 1: tl=0,tg=4t_l=0, t_g=4. Ways = (5C0×4C4)×(4C4×5C0)=(1×1)×(1×1)=1({}^5C_0 \times {}^4C_4) \times ({}^4C_4 \times {}^5C_0) = (1 \times 1) \times (1 \times 1) = 1.

Case 2: tl=1,tg=3t_l=1, t_g=3. Ways = (5C1×4C3)×(4C3×5C1)=(5×4)×(4×5)=20×20=400({}^5C_1 \times {}^4C_3) \times ({}^4C_3 \times {}^5C_1) = (5 \times 4) \times (4 \times 5) = 20 \times 20 = 400.

Case 3: tl=2,tg=2t_l=2, t_g=2. Ways = (5C2×4C2)×(4C2×5C2)=(10×6)×(6×10)=60×60=3600({}^5C_2 \times {}^4C_2) \times ({}^4C_2 \times {}^5C_2) = (10 \times 6) \times (6 \times 10) = 60 \times 60 = 3600.

Case 4: tl=3,tg=1t_l=3, t_g=1. Ways = (5C3×4C1)×(4C1×5C3)=(10×4)×(4×10)=40×40=1600({}^5C_3 \times {}^4C_1) \times ({}^4C_1 \times {}^5C_3) = (10 \times 4) \times (4 \times 10) = 40 \times 40 = 1600.

Case 5: tl=4,tg=0t_l=4, t_g=0. Ways = (5C4×4C0)×(4C0×5C4)=(5×1)×(1×5)=5×5=25({}^5C_4 \times {}^4C_0) \times ({}^4C_0 \times {}^5C_4) = (5 \times 1) \times (1 \times 5) = 5 \times 5 = 25.

The total number of ways, mm, is the sum of ways from all cases: m=1+400+3600+1600+25=5626m = 1 + 400 + 3600 + 1600 + 25 = 5626.

The sum of the digits of mm is 5+6+2+6=195 + 6 + 2 + 6 = 19.