I'm having a bit of trouble working through an example in the RSA entry on Wikipedia.
At step 5, $d$ is calculated as $2753$. However, $d$, which is the multiplicative inverse of $e$, can be calculated by applying Bézout to $ de - k\phi(n)=1 ,$ correct? When I run that calculation using Wolfram Alpha, I get $-367$. I'm assuming that I'm doing something wrong and that the Wikipedia entry is correct.