Suppose I have something like the following:
\begin{eqnarray*}
\mathrm{gcd}(x^3 + 6x^2 + 5x + 5, x^3 + 13x^2 + 6x + 3) &=& 102x^2 + 108x + 2 \ \mathrm{with} \ p = 109 \\
\mathrm{gcd}(x^3 + 2x^2 + 9x + 4, x^3 + 3x^2 + 7x + 9) &=& 1 \ \mathrm{with} \ p = 131 \\
\mathrm{gcd}(x^3 + 3x^2 + 9x + 12, x^3 + 6x^2 + 12x + 4) &=& 6x + 122 \ \mathrm{with} \ p = 157
\end{eqnarray*}
How do I align the statements at the end of each line (i.e. the "with p = ..." bit) to the right?