Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: zeugma; LibWhacker; SunkenCiv
Fortunately, no full factorization is needed, just a small test factorization up to about 40 000, then the Pollard's (P-1) method and finally Lucas-Lehmer Primality Testing. It is explained here http://www.mersenne.org/various/math.php

But, it is truly amazing.

45 posted on 02/24/2016 12:13:20 PM PST by AdmSmith (GCTGATATGTCTATGATTACTCAT)
[ Post Reply | Private Reply | To 28 | View Replies ]


To: AdmSmith

it helps quite a bit from what I understand, that Mersenne numbers are of a specialized form. Apparently there are ways of testing primality that don’t involve brute-force factoring of the number. I don’t know if all of those tests are always applicable to any large suspected prime, or if they are only useful for numbers of the specified form. i.e., (2^x)-1

The maths are a bit beyond me on this.


46 posted on 02/24/2016 12:54:49 PM PST by zeugma (Lon Horiuchi is the true face of the feral government. Remember that. Always.)
[ Post Reply | Private Reply | To 45 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson