

Total number of students = 25
Total students chosen for an excursion party = 10
If all the 3 students join the excursion party. So they are sure and for remaining 22 students, we have to select 7 students
Then total number of combinations = 22C7
Again if all 3 students do not join the excursion party. So for remaining 22 students, we have to select 10 students.
Then total number of combinations = 22C10
Now Total number of ways = 22C7 + 22C10
= 22!/(7! * 15!) + 22!/(10! * 12!)
= {(22*21*20*19*18*17*16*15!)/(7*6*5*4*3*2*15!)} + {(22*21*20*19*18*17*16*15*14*13*12)/(10*9*8*7*6*5*4*3*2*12!)}
= 817190
So total number of ways, the excursion party can be chosen = 817190
