Prime95
Prime95, also distributed as the command-line utility mprime for FreeBSD, Linux, and MacOS is a freeware application written by George Woltman.[src] It is the official client of the Great Internet Mersenne Prime Search (GIMPS), a volunteer computing project dedicated to searching for Mersenne primes.[src] It is also used in overclocking to test for system stability.[src] Although most of its source code is available, Prime95 is not free and open-source software because its end-user license agreement states that if the software is used to find a prime qualifying for a bounty offered by the Electronic Frontier Foundation, then that bounty will be claimed and distributed by GIMPS.[src]
Prime95, also distributed as the command-line utility mprime for FreeBSD, Linux, and MacOS is a freeware application written by George Woltman.[src] It is the official client of the Great Internet Mersenne Prime Search (GIMPS), a volunteer computing project dedicated to searching for Mersenne primes.[src] It is also used in overclocking to test for system stability.[src] Although most of its source code is available, Prime95 is not free and open-source software because its end-user license agreement states that if the software is used to find a prime qualifying for a bounty offered by the Electronic Frontier Foundation, then that bounty will be claimed and distributed by GIMPS.[src] ==Finding Mersenne primes by volunteer computing== Prime95 tests numbers for primality using the Fermat primality test (referred to internally as PRP, or "probable prime").[src] For much of its history, it used the Lucas–Lehmer primality test, but the availability of Lucas–Lehmer assignments was deprecated in April 2021 to increase search throughput.[src] Specifically, to guard against faulty results, every Lucas–Lehmer test had to be performed twice in its entirety, while Fermat tests can be verified in a small fraction of their original run time using a proof generated during the test by Prime95.[src] Current versions of Prime95 remain capable of Lucas–Lehmer testing for the purpose of double-checking existing Lucas–Lehmer results, and for fully verifying "probably prime" Fermat test results (which, unlike "prime" Lucas–Lehmer results, are not conclusive).[src] To reduce the number of full-length primality tests needed, Prime95 first checks numbers for trivial compositeness by attempting to find a small factor.[src] As of 2024, test candidates are mainly filtered using Pollard's p − 1 algorithm.[src] Trial division is implemented, but Prime95 is rarely used for that work in practice because it can be done much more efficiently using a GPU, due to the type of arithmetic involved.[src] Finally, the elliptic-curve factorization method and Williams's p + 1 algorithm are implemented, but are considered not useful at modern GIMPS testing levels and mostly used in attempts to factor much smaller Mersenne numbers that have already undergone primality testing.[src] GIMPS has discovered 18 new Mersenne primes since its foundation in 1996, the first 17 of which using Prime95.[src] The 18th and most recent, M 136279841 , was discovered in October 2024 using an Nvidia GPU, being the first GIMPS discovery to not have used Prime95 and its CPU computation.[src] 15 of the 17 primes discovered with Prime95 were the largest known prime number at the time of their respective discoveries, the exceptions being M 37156667 and M 42643801 , which were discovered out of order from the larger M 43112609 .[src] ==References== ==External links== with downloads for various architectures How to use Prime95 for stress (torture) testing[src]
20 sentences · 20 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Prime95." encyclopegia.org, 2026, https://encyclopegia.org/wiki/prime95. Accessed 26 November 2026.
Chicago
"Prime95." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/prime95.
APA
encyclopegia.org. (2026). Prime95. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/prime95
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON