Modulo arthmetic solve for x^N .

  • Context: Undergrad 
  • Thread starter Thread starter shadowhywind
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 3K views
shadowhywind
Messages
1
Reaction score
0
Modulo arthmetic solve for x^N...

Hay all, I am stuck on a problem, and its driving me crazy. I have a problem, xN = a mod b. Where I have to solve for x. My first thought was use to Fermat's little theorem(if I have the name correct), however my b is not a prime, (neither is 'N' or 'a' for that fact). I can give the exact problem with numbers if needed, but thought it would be slightly easier with variables instead. Any tips on how I could start to solve this would be great. Any questions please ask.
 
Physics news on Phys.org


I believe there is no generic solution to this problem.
 


Giving the actual numbers would probably be best for this one.
 


Google nth power residue for lots of results (and references to specific number theory texts) regarding your question.

Petek
 


Chinese remainder theorem.
 


Hurkyl said:
Chinese remainder theorem.

Yes. Factor b, use Fermat, then CRT the results together.