How can I represent a set of distinct numbers in shorthand mathematical notation? In particular I am trying to write that there are 4 distinct integers $a,b,c,d$.
For three numbers, I could say:
$a,b,c \in \mathbb{Z} :a \not= b\not= c \not=a$; however, for larger sets, I need to compare every pair of numbers for a total of $\frac{n!}{2}$comparisons.
Is there an accepted notation for distinctness? Or could I make a statement such as $a,b,c,d \in \mathbb{Z}, \{a,b,c,d\}$ is a set, bearing in mind that sets cannot have duplicates?
sets cannot have duplicatesIt is generally accepted that $,{a,a}={a},$. Just spell it out in words "distinct integers", there is no good reason to make it more complicated than needs be. – dxiv Feb 10 '18 at 00:06