"""Conj 7.3 restricted to a < b (fast scan, limit 40ab, not proved): largest ratios."""
import time
from math import gcd
from jaffe_g import g
t0 = time.time(); best = []
for b in range(4, 251):
    for a in range(3, b):
        if gcd(a, b) != 1: continue
        c = b + 1
        while gcd(c, a) != 1: c += 1
        best.append((g(a, c, 40) / g(a, b, 40), a, b, c))
best.sort(reverse=True)
print("a<b<=250: pairs %d, time %.0fs" % (len(best), time.time() - t0))
for x in best[:10]: print(x)
