[Math] Adding points of an elliptic curve over a finite field

cryptographyelliptic-curvesfinite-fields

I'm a bit confused with how fractions are handled with adding points of elliptic curves over finite fields. Below is an example from the text which I am trying to understand:

enter image description here

The part that particularly confuses me is

enter image description here

If I think about this the same way that $1/5$ was handled, we have that $246/1 = 246\cdot1^{-1}=246\cdot1=246$, but $246\equiv12 \mod 13$ so shouldn't $246/1 = 12$? I don't understand how the calculation is being done. Could someone explain?

Best Answer

You are right. The text is just missing a minus sign. The answer is $$\lambda \equiv 12 \equiv -1 \mod 13.$$

Related Question