How to reduce space between $n\equiv 1\pmod{4}$

by monalisa   Last Updated August 14, 2019 00:23 AM - source

I ran the following code and got the following huge space when using \pmod function. It is looking odd in the paper. Could anyone suggest how to reduce space? Thanks a lot for the kind help.

    MSC(C_n^2) &=& \begin{cases}
           1, & \text{if $n$ is odd and d is even ($n\equiv 1\pmod{4}$)},\\
           2, & \mbox{if n is even and d is even ($n\equiv 0\pmod {4}$)},\\
           3, & \mbox{if n is odd and d is odd ($n\equiv 3\pmod {4}$)},\\
           3, & \mbox{if n is even and d is odd ($n\equiv 2\pmod {4}$)}.

enter image description here

Related Questions

Missing $ error in equation > cases environment

Updated May 12, 2019 15:23 PM

how to break long equations in cases latex?

Updated April 03, 2018 14:23 PM

matching braces from one case to another

Updated September 10, 2018 21:23 PM

Problem in the test case code

Updated October 22, 2018 15:23 PM