I want to use Elliptic curves modulo $n$ to find out if $n$ is prime or not.
Now, I know that $n = 53467 = 127\times 421$, but how do I find this out using Elliptic curves?
I tried factorization using Lenstra factorization, but how to choose an efficient Elliptic curve to get the factors fast?
Here is a computer search adapted to...
https://en.wikipedia.org/wiki/Lenstra_elliptic-curve_factorization
(There is not too much chance to provide an answer without letting the computer search for the answer.)
We pretend that $n=53467$ is a prime, and use a random elliptic curve of the shape $y^2 = x^3+ax$, a random point $P$ on it, and perform some operations with $P$...
The above gave me this time...
Then there is a final error message, showing something went wrong...
And looking inside the looong traceback message, we explicitly can extract this reason:
We have an idea why this fails and ask for...