120C5 is the total number of time he can go
so out of if he go continiouslyevery day then it is 116C1 because it can happen only till 116 i.e (116,117,118,119,120)
if two goes together and the rest three are at random i,e116C2
similarly
116C3
116C4
now given gaps of two we have take care of the other version i.e of 60
then 56C1
56C2
56C3
56C4
hence the answer is 120C5-(116C1+116C2+116C3+116C4)-(56C1+56C2+56C3+56C4)
>
choose(120,5)-sum(choose(56,c(1,2,3,4)))-sum(choose(116,c(1,2,3,4)))
[1] 182760927
Get Answers For Free
Most questions answered within 1 hours.