TeX source:
\left\{\begin{matrix} \mathrm{false} \; \mathrm{if \;} n(s,i) = 3\\ \mathrm{true} \; \mathrm{otherwise} \end{matrix}\right.