I would like to use a notation for ranges of integers
$[a:b] = \{ a, a+1, \dots, b-1, b \}$.
However, the spacing of $[a:b]$ is often not quite satisfying. The colon : seems to push the glyphs a and b very much to the sides, and there is not much space between the square brackets and the numbers.
Which options do I have to type such an integer range? I am particular concerned about the spacing.

:symbol is of typemathrelby default. To eliminate the horizontal whitespace that surrounds objects of typemathrel, type either{:}or\mathord{:}. – Mico Mar 03 '20 at 07:13:, type{:}. – CarLaTeX Mar 03 '20 at 07:16