- #1
coolul007
Gold Member
- 271
- 8
I am wondering if there is a way to solve the following: (Chinese Remainder Theorem does not apply)
n == a mod(m)
m == b mod(r)
n == x mod(r), I need to know x, without dealing with a gigantic number(n),
I can find a and b, as I chose m to give me predictable results.
I appreciate any insight...
Sorry, for not including work so far, etc. Here is an example of what I am trying to do with manageable numbers:
5^(2)^13 = 5^8192 == 25 mod(5^13 -1), (always comes out 5^2)
5^13 - 1 == 614 mod(7927)
5^8192 == ? mod(7927) here is my dilemma. I know Power Residues will eventually crank out an answer, but my exponents are so large that it is prohibitive.
n == a mod(m)
m == b mod(r)
n == x mod(r), I need to know x, without dealing with a gigantic number(n),
I can find a and b, as I chose m to give me predictable results.
I appreciate any insight...
Sorry, for not including work so far, etc. Here is an example of what I am trying to do with manageable numbers:
5^(2)^13 = 5^8192 == 25 mod(5^13 -1), (always comes out 5^2)
5^13 - 1 == 614 mod(7927)
5^8192 == ? mod(7927) here is my dilemma. I know Power Residues will eventually crank out an answer, but my exponents are so large that it is prohibitive.
Last edited: