I'm trying to calculate $\frac{3}{10}$,working in $\mathbb{Z}_{13}$. Is this the correct approach?
Let $x=\frac{3}{10} \iff 10x \equiv 3 \bmod 13 \iff 10x-3=13k \iff 10x=13k+3$ for some $k \in \mathbb{Z}$ $\iff 10x \in \{16,29,42,55,68,81,94,107,120,133,146,159\}$, and the only integer solution to this is $x=9$, therefore $3/10=9$ in $\mathbb{Z}_{13}$.
Where have I gone wrong?
Note that $10\times 4 = 40 \equiv 1$ mod $13$
Then multiply the original equation by $4$ to obtain $40x\equiv 12$ so that $x\equiv 12$