Solving non coprime coefficient equation

47 Views Asked by At

Suppose I have an equation $24\times a \equiv 12 \pmod {26}$. How do you solve this type of equation when the coefficient is not coprime with $26$?

1

There are 1 best solutions below

2
On BEST ANSWER

$$\begin{align} 24a&\equiv12\pmod{26}\\ 12a&\equiv6\pmod{13}\\ -a&\equiv6\pmod{13}\\ a&\equiv7\pmod{13} \end{align}$$