![]() |
![]() |
#1 |
Aug 2006
5,987 Posts |
![]()
I'm sure this is very basic, but where can I find Linux software for proving primality of large general numbers? Franรงois Morain's ECPP is limited to about 2000 decimal digits. Pari/GP is happy to attempt a primality proof for large numbers, but its algorithms are not competitive at that size.
Last fiddled with by CRGreathouse on 2010-11-17 at 06:25 |
![]() |
![]() |
![]() |
#2 |
Bemusing Prompter
"Danny"
Dec 2002
California
9BE16 Posts |
![]() |
![]() |
![]() |
![]() |
#3 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]() Quote:
Numbers as big as 20,562 digits have been proven prime with the FastECPP software distributed over multiple computers, albeit with what appears to be a specially-modified, not-generally-available version of the program. |
|
![]() |
![]() |
![]() |
#4 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10000101101112 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
1164610 Posts |
![]() Quote:
Paul |
|
![]() |
![]() |
![]() |
#6 |
A Sunny Moo
Aug 2007
USA (GMT-5)
141518 Posts |
![]()
As Paul suggested, a VM could do the trick, though Wine has been used before with success to run Primo on Linux. Gary (a.k.a. gd_barnes) did a large proof for the Five or Bust project that way on one of his Linux boxes and from what I observed the overhead was minimal if at all present. I'm not sure how this compares with a virtual machine, but it was definitely more convenient to set up and use.
Last fiddled with by mdettweiler on 2010-11-17 at 20:29 |
![]() |
![]() |
![]() |
#7 |
Jan 2008
France
25416 Posts |
![]()
I could indeed get Primo to work with wine.
BTW long ago (~2001) I ran some command-line .exe number crunching program under Wine and they were faster than under Windows. |
![]() |
![]() |
![]() |
#8 |
May 2004
New York City
423510 Posts |
![]()
Is primo good for primes less than ten million?
|
![]() |
![]() |
![]() |
#9 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
10111100011112 Posts |
![]()
For primes that small http://en.m.wikipedia.org/wiki/Mille...primality_test shows what bases need testing for a number to be definitely prime. This should be faster than primo though trial factoring m
ight be faster still. |
![]() |
![]() |
![]() |
#10 |
Mar 2007
Austria
1001011102 Posts |
![]()
For potential prime numbers less than 10^300,Pari-GP's isprime() function is reasonably fast(altough it doesn't print out a certificate). Pari-GP runs on linux and you can get it from:
http://pari.math.u-bordeaux.fr (or install it via your distribution's package manager) |
![]() |
![]() |
![]() |
#11 | |
Aug 2006
5,987 Posts |
![]() Quote:
It does have the ability to certify primality with isprime(n, 1), though it's very slow. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unit Differences for Primality Proving | Trejack | Miscellaneous Math | 11 | 2016-05-12 04:15 |
Use Pepin's Tests for proving primality of Mersenne numbers ? | T.Rex | Math | 12 | 2016-04-03 22:27 |
Primality proving of DB factors? | jasonp | FactorDB | 3 | 2011-10-17 18:04 |
"New primality proving test from Alex Petrov" | ewmayer | Math | 11 | 2007-04-23 19:07 |
fastest general number primality-proving algorithm? | ixfd64 | Math | 3 | 2003-12-17 17:06 |