Hi,
I have a summation of xors - a (0 to n), b (0 to m) -> sum(a^b).
ie
for a in range(0, n):
for b in range(0, m):
total+= a^b
if it were multiplication i could just do
(n+1)n/2 * (m+1)m/2
is there a similar simplification i can use for the boolean logic?
I have a summation of xors - a (0 to n), b (0 to m) -> sum(a^b).
ie
for a in range(0, n):
for b in range(0, m):
total+= a^b
if it were multiplication i could just do
(n+1)n/2 * (m+1)m/2
is there a similar simplification i can use for the boolean logic?