Problem
For an odd prime p and 1≤a,b≤n<p,
x0Ta,b(x)xj+1fp(a,b)=0,=x2+ax+b(modp),=Ta,b(xj),=min{j≥1:xj∈{x0,…,xj−1}}.
B(n,p)=π∈Snmax1≤a≤nminfp(a,π(a))
IBM, July 2026: determine
B(611,14411),2≤n≤999maxB(n,17377).
Orbits
Tail length μ, cycle length λ:
x0→⋯→xμ−1→λ-cyclexμ→⋯→xμ+λ−1→xμ,fp(a,b)=μ+λ.
For (a,b,p)=(1,3,101),
0,3,15,41,λ=108,75,47,37,96,23,50,28,7,59,8,…μ=4,λ=10,f101(1,3)=14.
Conjugacy
In Fp, put s=a/2, c=b+s−s2, and τs(x)=x+s. Then
τs∘Ta,b∘τs−1(y)y0fp(a,b)=y2+c=:qc(y),=s,=μc(s)+λc(s).
Memoize (μc(y),λc(y)) per discovered state (c,y):
y on an ℓ-cycle:y off-cycle:(μc(y),λc(y))=(0,ℓ),μc(y)=1+μc(qc(y)),λc(y)=λc(qc(y)).
Matching
GtEtB(n,p)≥tEt+1=([n],[n],Et),={(a,b):fp(a,b)≥t},⟺ν(Gt)=n,⊆Et.
Here ν is the maximum matching size. Binary search in t; Hopcroft–Karp per threshold:
O((∣Et∣+n)n).
For (n,p)=(5,101),
π(f101(a,π(a)))a=15ν(G14)B(5,101)=(3,1,4,2,5),=(14,18,19,22,14),=5,ν(G15)=4,=14.
Certificates
Hall’s theorem, with Nt(S) the neighbors of S in Gt:
ν(Gt)=n⟺∀S⊆[n],∣Nt(S)∣≥∣S∣.
Thus
π∈Sn,aminfp(a,π(a))≥t⟹B(n,p)≥t,∣Nt+1(S)∣<∣S∣⟹B(n,p)≤t.
A singleton obstruction on either side gives
B(n,p)B(n,p)≤aminbmaxfp(a,b),≤bminamaxfp(a,b).
Required instance
For p=14411, exact computation gives
1≤a≤611maxfp(a,493)1≤a≤611argmaxfp(a,493)=349,={402}.
The certificate supplies π∈S611 with
π(402)fp(402,π(402))a=402=493,=349,⟹fp(a,π(a))≥350.
349≤B(611,14411)≤349
Bonus
Fix p=17377. Exact maxima:
1≤a≤490maxfp(a,1)1≤b≤777maxfp(145,b)1≤b≤999maxfp(759,b)1≤a≤923maxfp(a,513)=404,=405,=408,=405.
Hence
B(n,p)≤⎩⎨⎧404,405,408,2≤n≤490,491≤n≤777,778≤n≤999,
and
778≤n≤923⟹B(n,p)≤405<408.
The certificate supplies a base matching π924 and augmenting-path updates:
π924⇝π925⇝⋯⇝π999,∀n∈{924,…,999},πn∈Sn,a≤nminfp(a,πn(a))≥408.
2≤n≤999maxB(n,17377)=408
2≤n≤999argmaxB(n,17377)={924,…,999}