The number of men doing a work and the number of days taken are in inverse proportion.
Let the number of men doing the work in 16 days be a
Then, 24:a:: inverse ratio of 40:16
24×16=a×40
Applying the rule, product of extremes = product of means
24×40=a×16
a=24×4016
a=60
Hence, 60 men can do the work in 16 days.