1

So I'm working on modular arithmetic and encountered the following problem:

Assume that $(a \cdot b) \mod m = c$ and that I know $c$. Can I still check for divisibility of $c$ by $a$? A quick example tells me that checking whether $c \mod a = 0$ does not work:

$((29*200) \mod 512) \mod 29 = 23$

But is this check impossible if $m < a \cdot b$ or is there a way to find out whether $a | c$? Maybe if $m$ and $n$ are primes?

Thanks!

Aares
  • 11

0 Answers0