Talk:Factors of a Mersenne number

From Rosetta Code
Revision as of 19:28, 16 January 2009 by rosettacode>IanOsgood (New page: == Algorithm incorrect? == In testing some other Mersenne numbers, I get false negatives from the Python program. Both M<sub>59</sub> and M<sub>6007</sub> are not prime and should yield a...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Algorithm incorrect?

In testing some other Mersenne numbers, I get false negatives from the Python program. Both M59 and M6007 are not prime and should yield a factor, right? If this is expected, maybe some more clarification is needed in the description. --IanOsgood 19:28, 16 January 2009 (UTC)