View Single Post
Old 2020-08-02, 06:07   #3
amenezes
 
Aug 2020

910 Posts
Default

Attached is the code I tested it with in C. It uses GMPLIB http://gmplib.org
Compile it as :
gcc -o pspf -lm -m64 -lgmp pspfactorsm.c
and run :
./pspf filename.out filename,in
where filename.in = psps-below-2-to-64.txt
The file psps-below-2-to-64.txt is unput to the program and filename.out is the output file.
The file psps-below-2-to-64.txt can be found at the following URL:

http://www.cecm.sfu.ca/Pseudoprimes/


Decompress the file and use it.
Thank you,
Allan
Attached Files
File Type: c pspfactorsm.c (2.0 KB, 134 views)
amenezes is offline   Reply With Quote