modSqrtInverse

Revision en1, by Akuver, 2021-04-26 13:12:10

I was wondering if there is a way to solve this problem. Suppose we have x^2 = k mod m, and we know the values of k and m. Now, is it possible to find z such that x = z mod m from only k & m ?

P.S.: Sorry for not using latex. I don't know how to do it on codeforces.

Tags #number theory, #discrete math

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Akuver 2021-04-26 13:12:10 289 Initial revision (published)