\mathrel - forces the argument to be treated in the 'relation' class.
{ \mathrel #1}
\mathrel command is used to force the argument to be treated in the 'relation' class.
a \# b
a \mathrel{\#} b