there are 2 parts in the question:
1st part , machines are working in pairs & 2nd part 20 machines working all together.
1st part , machines are working in pairs:
total combinations=(20*19)/2=190 days
each m/c has a unique rate so total rate R= r1+r2....+r20
let work for day1,W1= (r1+r2)*1
let work for day2W2= (r1+r3)*1
let work for day3W3=(r1+r4)*1
...... every machines rate appears 19 times in the 190 days of work.
total work done in 190 days = 19*(r1+r2+.....r20)= 19R
similarly work done in 6 days=2*6
total work done = 19R+6R=25R
2ND PART
time taken by 20 m/c = W/R= 25R/R= 25...... AND (B)
Bunuel
20 machines, each working at a different constant rate, work to complete a certain job. Each day, exactly 2 machines are assigned to work, and no pair of machines works together more than once. After all such unique pairs have worked once, all 20 machines work together for 6 additional days to complete the job. If all 20 machines had worked together from the beginning, in how many days would the job have been completed?
A. 19
B. 25
C. 26
D. 190
E. 196