- #1
VitaminC
- 4
- 0
Homework Statement
If I have some fraction, a/b, in Z subscript 5. (Z is an integer Field) How should I go about doing this?
Homework Equations
I understand that (ab) mod n = ((a mod n)(b mod n)) mod n
The Attempt at a Solution
Thus, I am tempted to say that (a/b) mod n = ((a mod n)/(b mod n)) mod n
However, following that equation, there will be times where I will also end up with a fraction.
exmaple, ((7 mod 5) / ( 24 mod 5)) mod 5 = (2/4) mod 5
= 1/2
So how should I go about solving 7/24 in Z5 or something similar?
I have a feeling I'm missing something obvious.