roam
- 1,265
- 12
Homework Statement
[PLAIN]http://img844.imageshack.us/img844/2975/31668142.gif
The Attempt at a Solution
I know the inverse would be of the form:
M^{-1}_{a,p}=\frac{1}{1-(p-1)(10 \bmod\ p)} \begin{bmatrix} 1&-(a \bmod\ p)\\ -(p-1)& 1 \end{bmatrix}
Where 1-(p-1)(10 \bmod\ p) is the determinant. Whatever this equals to, I must find its inverse.
But how does one evaluate 10 \bmod\ p and (p-1) when p \in \{ 3,7 \}? Do we take '10 mod 7' or '10 mod 3'?

Last edited by a moderator: