For the sake of neatness, how do we replace the conditions of
$y=0$, with the text "otherwise".
For example, with s[4,x], I want the following output:
$$\small{s_4(x)=\begin{cases} 65536& x\in(-\frac{257}{256},-\frac{255}{256})\cup(-\frac{1}{256},\frac{1}{256})\cup(\frac{255}{256},\frac{257}{256})\\ 16 & x \in(-\frac{1}{4},\frac{1}{4})\\ 0 & \text{otherwise}
\end{cases}}$$
Even then, I don't think the output above is correct. The intervals in
$y=16$ and
$y=65536$ overlap.