<p>Are there simplified algorithms or online services or Python scripts where can calculate a new ordinal <code>N</code> for a new finite field <code>Fp</code> in an elliptic curve?</p>
<pre><code>y^2 = x^3 + 7
</code></pre>
<p>I know that SageMath exists and in this program can make a calculation using the <code>EllipticCurve ()</code> function, but I'm more interested in Python.</p>

CC BY-SA 4.0
2021-01-31T18:00:09.810Z
You want Schoof's algorithm for this, which is pretty nontrivial. A web search for "Python Schoof" finds this: https://github.com/pdinges/python-schoof. Is that what you're looking for?
Pieter Wuille
CC BY-SA 4.0
2021-01-31T19:10:45.560Z
@Pieter Wuille Yes, that's what I need! Thank you!
Izi Tors
<secp256k1><math>
How to calculate the new sequence number N for the new final field Fp curve?
Izi Tors
# How to calculate the new sequence number N for the new final field Fp curve?

(Asked by: username_0 on 2021-01-31)

Are there simplified algorithms or online services or Python scripts where can calculate a new ordinal N for a new finite field Fp in an elliptic curve?
y^2 = x^3 + 7

I know that SageMath exists and in this program can make a calculation using the EllipticCurve () function, but I'm more interested in Python.

**Tags:** secp256k1, math

> **Comments:**
> **username_1**: You want Schoof's algorithm for this, which is pretty nontrivial. A web search for "Python Schoof" finds this: https://github.com/pdinges/python-schoof. Is that what you're looking for?  
> **username_0**: @username_1 Yes, that's what I need! Thank you!  

---

## 0 answers

