Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on That XOR Trick (2020). Parent comment
XOR[0...x] = (x&1^(x&2)>>1)+x*(~x&1)
Actually I found something through Gemini based on the table mod 4 idea in previous post. Thanks.
XOR[0...x] = (x&1^(x&2)>>1)+x*(~x&1)