[Math] Set Builder Notation For Positive Integers Divisible By 5

discrete mathematics

I have a question that asks to use set builder notation for positive integers divisible by 5. Would this be the correct way writing it?

$\{x|x \in \mathbb Z, x>0, x \ is \ divisible \ by \ 5\}$

OR would it be written like this?

$\{x|x \in \mathbb Z, x>0, x \ = \ x/5 \}$

Best Answer

As written, the first. If you wanted to be less "wordy", you could write $x \equiv 0\ (\mathrm{mod}\ 5)$ instead of $x\ \mathrm{is \ divisible \ by \ }5$.

The second set you described would be empty, as the only $x$ satisfying $x = x/5$ is $x=0$, which is of course excluded by $x>0$. You could, however, rewrite that condition as $x/5 \in \mathbb{Z}$, which would describe the set you're after - again, just another way of writing it.

Related Question