home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / math / 14432 < prev    next >
Encoding:
Text File  |  1992-11-05  |  3.7 KB  |  89 lines

  1. Newsgroups: sci.math
  2. Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!SAIL.Stanford.EDU!rivin
  3. From: rivin@SAIL.Stanford.EDU (Igor Rivin)
  4. Subject: Re: How to respond to enthusiasm [Was Re: Help X^2 == Y mod N]
  5. Message-ID: <1992Nov5.174033.22790@CSD-NewsHost.Stanford.EDU>
  6. Sender: news@CSD-NewsHost.Stanford.EDU
  7. Organization: Computer Science Department,  Stanford University.
  8. References: <1992Nov3.114800.23056@linus.mitre.org> <1da1ggINNk95@gap.caltech.edu> <1992Nov5.131125.22075@linus.mitre.org>
  9. Date: Thu, 5 Nov 1992 17:40:33 GMT
  10. Lines: 77
  11.  
  12. In article <1992Nov5.131125.22075@linus.mitre.org> bs@gauss.mitre.org (Robert D. Silverman) writes:
  13. >In article <1da1ggINNk95@gap.caltech.edu> mokie@cco.caltech.edu (Michael L. Brundage) writes:
  14. >:bs@fatima.mitre.org (Robert D. Silverman) writes:
  15. >:
  16. >:>In article <1992Nov3.042721.2035@vela.acs.oakland.edu> phkahler@vela.acs.oakland.edu (KAHLER PAUL H.) writes:
  17. >:>:I would like to know if any one knows of a (good) method of finding X in
  18. >:>:the following congruence:
  19. >:>:
  20. >:>:X^2 == Y mod N        given Y and N
  21. >:>:
  22. >:>:I know how to determine if X exists and how to find it if N is prime.
  23. >   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. >
  25. >:>:However, my N is not prime.
  26. >:>:
  27. >:>:My math prof told me there is a way but he didn't know it off the top of his
  28. >:>:head. I checked the library and can't find it. I'm not convinced that anyone
  29. >:>:has a way, or if it can be done in general. (oh boy! an unsolved problem?!)
  30. >:> 
  31. >:>Its trivial.
  32. >:
  33. >:This is being picky, but when someone says "Oh boy!" about a problem, and
  34. >:someone else replies with "It's trivial"  it (at first, at least)
  35. >:either (a) sounds egotistical or (b) squelches the enthusiasm of the poser.
  36. >:Of course, you probably just meant "It's not a hard problem, see, here's the
  37. >:way to do it," but it sounds much less kind than that on a first (and
  38. >:second, for that matter) reading.
  39. >As you may recall, the original poser said that he *already knew* how
  40. >to solve square roots modulo a prime. The best algorithm(s)
  41. >for doing this are variations of a random method due to Shanks, that 
  42. >searches for a quadratic non-residue.  Direct methods are known when the prime
  43. >is 3 mod 4, or 5 mod 8, but in other cases there does not seem to be a
  44. >fast *deterministic* method.
  45. >
  46. >
  47. >For someone who knows this much, factoring the modulus and using the
  48. >Chinese remainder theorem should indeed be trivial, because understanding
  49. >the first problem itself isn't trivial.
  50. >
  51. Firstly, the original poster's question could have been phrased as:
  52.  
  53. Assume we know how to solve this congruence mod a prime, how do we do
  54. it for all integers?
  55.  
  56. It COULD have been phrased as "assume the Riemann Hypothesis holds" --
  57. would you assume that the poster was God?
  58.  
  59.  
  60. Secondly, you still seem to insist that all numbers are square-free.
  61. Is that really true?
  62.  
  63. >Of course, maybe the original poser really did NOT know how to find 
  64. >square roots modulo a prime and was doing it by some stupid method, like
  65. >direct search. However, when someone says that he knows how to do something,
  66. >I have no reason to doubt him/her.
  67. >
  68. >In any event, I tend to use the word 'trivial' to refer to something
  69. >that is elementary.
  70.  
  71. This is an incredibly misguided view. "Trivial" and "elementary" are
  72. completely orthogonal concepts.
  73.  
  74. > In this case, understanding the method requires
  75. >nothing more than high school algebra.
  76. >
  77. >Implying that the answer to the original question is NON-trivial would
  78. >be insulting to the reader, rather than the other way around.
  79.  
  80. Did you learn how to solve non-linear congruences by yourself, while
  81. in high school, in total isolation,  or did
  82. you learn it from a book or a class? (Yes, a problem course qualifies
  83. as a class). If the latter, you have no right to say that the question
  84. is trivial.
  85.  
  86.  
  87.  
  88.