Home My Page Projects GMP-ECM (Elliptic Curve Method)
Summary Activity Forums Tracker Lists Tasks Docs News SCM Files

[#21656] Prime numbers as input not detected

Date:
2018-03-09 20:36
Priority:
3
State:
Open
Submitted by:
Ken Takusagawa (kenta)
Assigned to:
Nobody (None)
Category:
none
Group:
none
Resolution:
none
Summary:
Prime numbers as input not detected

Detailed description
If a large prime is given as input to ecm, it is not rejected or warned; it futilely proceeds trying to factor it:

echo 2^521-1 | ecm -c 0 -I 1 1e5

It would be nice to have a feature to check for primality at the beginning.
Message  ↓
Date: 2018-03-09 21:11
Sender: Paul Zimmermann

please see option -primetest

No Changes Have Been Made to This Item