Problem 982 · Hard

Triples with Bitwise AND Equal To Zero

Count ordered triples whose bitwise AND is zero by counting pair ANDs first, then matching each remaining value.

Open the interactive visualisation