Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sarcarx
· 5y ago · 0 comments
Note that the combined xor of the first n integers can be computed in constant time (oeis.org/A003815). a(4n)=4n, (4n+1)=1, a(4n+2)=4n+3, a(4n+3)=0
Comments
No comments yet.
Better HN