Problem 3513 · Medium

Number of Unique XOR Triplets I

For a permutation of 1 to n, the distinct XOR triplet values fill every value below twice the largest power of two at most n.

Open the interactive visualisation