defining set of range of number

Hi
i want define set of number for example:
a set that including follow ranges:
10-20 40-50 100-170