Can I use
$k \in \mathbb{Q}, M_{k} = \{c~|~c \in \mathbb{Q} \land k|c \}$
to mean the set of all multiples of $k$? Or in other words, is the $|$ operator defined for rational numbers?
I was confused as the German version of the wikipedia entry for the vertical bar seems to limit its applicability to integers:
https://de.wikipedia.org/wiki/Senkrechter_Strich
(for those who can read it)
Edit:
I guess I confused $x|y$ to evaluate to true for rational numbers if $\frac{x}{y} \in \mathbb{Z}$. I guess @G Tony Jacobs anticipated my mistake and recommend I use $\{ nk | n \in \mathbb{Z} \}$.
Edit:
In fact, I wanted to use the vertical bar notation as building block to express the following:
$f(x,y) = \text{the smallest number $z$ so that $z = xa, a \in \mathbb{Z} \land z = xb, b \in \mathbb{Z}$}$
Maybe there is an idiomatic mathematical notation for this?
I posted somewhat of a follow-up here: Does the following hold true and how to learn how to solve this?