(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

If I have some fraction, a/b, in Z subscript 5. (Z is an integer Field) How should I go about doing this?

2. Relevant equations

I understand that (ab) mod n = ((a mod n)(b mod n)) mod n

3. 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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Modular Arithmatic

**Physics Forums | Science Articles, Homework Help, Discussion**