Property between XorSum and Sum of segment

Revision en2, by prudent, 2018-06-27 13:05:19

Why if xor sum of segment is equal to sum of segment, this condition is also satisfied for all subsegments of original segment?
I know that it's true when all bits in numbers are unique, but is it the only case when it's true, and if it is, then why?

Tags xorsum, sum, xor properties, need explanation

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English prudent 2018-06-27 13:07:14 102
en2 English prudent 2018-06-27 13:05:19 126 Tiny change: 'gment? \n\nI know t' -> 'gment? \nI know t'
en1 English prudent 2018-06-27 12:48:59 181 Initial revision (published)