View Single Post
Jan26-12, 09:10 AM
P: 688
Hi, Joao,
you need to google for the "chinese remainder theorem". The Wikipedia page can be a bit obscure depending on your background; this page may be more clear:

It may point you to study other things first, like the "Euclidean algorithm".
Hope this helps!