How can you test for primality of a hundred digit random number?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scripter407
    New Member
    • Oct 2007
    • 1

    How can you test for primality of a hundred digit random number?

    I know there are some methods like montecarlo method to test for primality but find it difficult to implement these algorithm. I would like you give your suggestions on it. Hope you all find this discussion interesting.
  • smalpani
    New Member
    • Aug 2007
    • 29

    #2
    Originally posted by scripter407
    I know there are some methods like montecarlo method to test for primality but find it difficult to implement these algorithm. I would like you give your suggestions on it. Hope you all find this discussion interesting.

    the answer is that you dont ask that in a C/C++ forum if you cant do it on paper

    Comment

    Working...