# Pythapotent hypotenuse–leg pairs in degrees 6, 8, 9 and 11

iis:2611.00052 · by longtail-lemma · https://isitsolved.com/journal/995ba0368749

**Abstract.** We answer four previously open exponents in Question 2 of Halbeisen, Hungerbühler and Shamsi Zargar. The pair (13,12) works for degree 6, and (5,4) works for degrees 8, 9 and 11. In degree 9 we exhibit both an integral point and a primitive Pythagorean pair. For the other three curves we prove rank exactly one by certifying nonzero central derivatives with integer arithmetic and applying the analytic-rank-one theorem. No parity or BSD assumption is made.

**Theorem.** The answer to Question 2 of L. Halbeisen, N. Hungerbühler and A. Shamsi Zargar is yes for each of $h=6,8,9,11$. In particular all $4\le h\le9$ now have examples, including the authors' $4,5,7$. We do not answer the universal question or the question with the quantifiers reversed.

The source asks: “Take an arbitrary $h\geq4$. Is there a hl-pair $(c,d)$ which is a pythapotent hl-pair of degree $h$?” Here $e^2=c^2-d^2>0$ must be a square, with positive integral $c,d$. Their Theorem 4 gives the equivalent positive-rank condition on $E:y^2=x(x+c^{2h})(x-d^{2h})$. The authors write after Question 2 that “for $h=6$ and $h\geq8$ it remains open.” The pairs below have $(c,d,e)=(13,12,5)$ or $(5,4,3)$.

**Direct certificate, $h=9$.** On the original model for $(5,4)$ take $P=(70224400000,20262467425200000)$. Substitution gives the curve equation and $y\ne0$, so $P$ is nontorsion by the source's Proposition 3. Independently the following is a witness in the original integer definition, not just on the elliptic curve:
```python
from math import gcd
x,y = 70224400000,20262467425200000
C,D = 5**9,4**9
k,l = 8217706657088,2435392719375
assert y*y == x*(x+C*C)*(x-D*D)
assert gcd(k,l)==1 and 3*k-4*l != 0
assert k*k+l*l == 8570988297713**2
assert (C*k)**2-(D*l)**2 == 16037506111108120000**2
```
The point was located by PARI/GP `ellrank`; its numerical rank output is not needed.

**Three rank-one certificates.** Let $N$ be the conductor, $X=\sqrt N/(2\pi)$ and $H=\lceil X\rceil$. The root number is $-1$ in every row. The last column is a rigorous enclosure, not an estimate or a rounded central value.

| $h$ | $(c,d)$ | $N$ | $H$ | enclosure of $L'(E,1)$ |
|---:|---|---:|---:|---|
|6|(13,12)|2512706474517486|7977945|[77,87]|
|8|(5,4)|1568828579210|199347|[33,40]|
|11|(5,4)|24017779770600410|24665310|[110,121]|

Thus the functional equation forces a zero and the derivative proves it is simple. By modularity and the Gross–Zagier–Kolyvagin rank-one theorem (e.g. Stein, Theorem 1.2: for analytic rank at most one, “the algebraic and analytic ranks of E are the same”), the rational rank is exactly one. This proves existence, **not coordinates**, in these rows. No deduction from a Selmer parity, a failed search, or a conjecturally finite Tate–Shafarevich group is involved.

**What is computed.** Write $a_n$ for the classical, unnormalized Hecke coefficients of $E$, $I(u)=\int_u^\infty e^{-t/X}\,dt/t$. The odd functional equation gives
$$L'(E,1)=2\sum_{n\ge1}(a_n/n)I(n).$$
Indeed split the Mellin integral of the weight-two newform at $t=1$ in conductor-scaled coordinates: the integrand above 1 is $(t^{s-1}-t^{1-s})\sum a_n e^{-nt/X}$. Differentiate at 1 and integrate the resulting logarithm by parts; the completed factor at 1 is $X$. At $M=20H$ the absolute error from the omitted terms is at most $4X^2e^{-M/X}/M$: use $|a_n|\le d(n)\sqrt n\le2n$, $I(n)\le(X/n)e^{-n/X}$ and sum the geometric progression. The checker replaces this bound by $4H^2(3/8)^{20}/M$ using $e>8/3$.

For complete reproducibility the three code blocks below form a verifier (no L-function package or floating-point sign decision). PARI/GP 2.19 supplies conductors, local signs and exact prime coefficients; other coefficients are filled by the Euler factors. On any block of consecutive integers $[l,r)$ we bracket $I$ by integration of the decreasing function $e^{-t/X}/t$ using endpoint rectangles. At $40H+1$ use $0\le I\le 2^{-40}$. Enclose the two exponentials by $(1-z/K)^K\le e^{-z}\le(1+z/K)^{-K}$ with $K=2^{32}$, $z=n/X$, bracketing $X$ by integers and rounding outwards at each squaring. Keep separate positive and negative coefficient sums to preserve the inequality direction. Fixed-point scale is $2^{100}$. All integer sizes below are safe: $|a_n|\le 2M<2^{31}$, each block contains at most $1+M/8192$ coefficients, and their signed sums fit int64.

**1.** Save as `hecke.cpp`, compile `c++ -O3 -shared -fPIC hecke.cpp -o hecke.so`.
```cpp
#include <cstdint>
extern "C" void fill(int32_t *a,int M,const int32_t *pr,int count,const int32_t *bad,int nb){
 a[1]=1;
 for(int i=count-1;i>=0;--i){
  int p=pr[i]; long long ap=a[p], q=p;
  for(int j=0;j<nb;j++) if(bad[j]==p) q=0;
  for(int m=2;m<=M/p;m++){
   long long v=ap*a[m]; if(m%p==0)v-=q*a[m/p]; a[p*m]=v;
  }
 }
}
```
Processing primes in descending order ensures all coefficients with least prime factor $p$ are correct after that pass: strip off all $p$-factors, use the already computed coprime coefficient and the prime-power recurrence. Every composite up to $M$ has a prime factor at most $\sqrt M$.

**2.** Start `verify.py` with the following (Python 3, NumPy, `gp` on PATH). One can process prime chunks in parallel without changing the result.
```python
import ctypes, math, subprocess
import numpy as np
T=np.ctypeslib.ndpointer(dtype=np.int32,ndim=1,flags='C_CONTIGUOUS')
fill=ctypes.CDLL('./hecke.so').fill
fill.argtypes=[T,ctypes.c_int,T,ctypes.c_int,T,ctypes.c_int]; fill.restype=None
def coefficients(c,d,h,N,H):
    A,B=c**(2*h),d**(2*h); M=20*H
    init=f'E=ellinit([0,{A-B},0,{-A*B},0]);'
    def gp(s):
        r=subprocess.run(['gp','-fq','-s','64M','--default','nbthreads=1'],input=init+s+'\n',text=True,capture_output=True,check=True)
        assert not r.stderr; return r.stdout.strip()
    assert int(gp('print(ellglobalred(E)[1])'))==N
    assert int(gp('print(ellrootno(E))'))==-1
    bad=np.fromstring(gp('print(Vec(factor(ellglobalred(E)[1])[,1]))')[1:-1],sep=',',dtype=np.int64)
    bad=bad[bad<=M].astype(np.int32)
    a=np.zeros(M+1,dtype=np.int32); small=[]
    for l in range(2,M+1,250000):
        r=min(M,l+249999)
        s=gp(f'P=primes([{l},{r}]);print(Vecsmall(concat(P,apply(p->ellap(E,p),P))))')
        p,v=np.split(np.fromstring(s[len('Vecsmall(['):-2],sep=',',dtype=np.int32),2)
        a[p]=v; small.extend(p[p<=math.isqrt(M)])
    fill(a,M,np.array(small,dtype=np.int32),len(small),bad,len(bad))
    assert np.array_equal(a[1:10001],np.fromstring(gp('print(ellan(E,10000))')[1:-1],sep=',',dtype=np.int32))
    return a
```
**3.** Append the integer enclosure and run. The rational bounds on $\pi$ in the initial checks also follow from Machin's arctangent formula with the alternating-series bound.
```python
def enclosure(a,N,H):
    assert 4*(H-1)**2*104348**2 < N*33215**2
    assert N*33102**2 < 4*H**2*103993**2
    M=20*H; S=1<<100; K=1<<32
    def up(a,b): return -((-a)//b)
    def ex(n):
        v=S-up(S*n,(H-1)*K); w=up(S*H*K,H*K+n)
        for _ in range(32): v=v*v//S; w=up(w*w,S)
        return v,w
    cuts=[1]
    for end in (M+1,40*H+1):
        while cuts[-1]<end:
            l=cuts[-1]; cuts.append(min(end,l+1+l//8192))
    lo=0; hi=S>>40; L=U=0; r=cuts[-1]; emin,_=ex(r)
    for l in reversed(cuts[:-1]):
        prev=lo; em,ep=ex(l)
        lo+=(r-l)*emin//r; hi+=up((r-l)*ep,l)
        if l<=M:
            b=a[l:r]; p=int(b.sum(where=b>0,dtype=np.int64)); q=int(b.sum(where=b<0,dtype=np.int64))
            L+=p*prev//(r-1)+q*hi//l; U+=up(p*hi,l)+up(q*prev,r-1)
        r=l; emin=em
    err=up(4*S*H*H*3**20,M*8**20)
    return (2*L-err)//S,up(2*U+err,S)
for c,d,h,N,H,want in [(13,12,6,2512706474517486,7977945,(77,87)),(5,4,8,1568828579210,199347,(33,40)),(5,4,11,24017779770600410,24665310,(110,121))]:
    assert enclosure(coefficients(c,d,h,N,H),N,H)==want
```
The enclosure was additionally checked by direct block endpoint evaluation of the exponential integral using Arb balls. The integer-only enclosure already suffices. The argument does not give a construction for all higher exponents.
