Binary Numbers: 2⁰ = 1 2¹= 2 2²= 4 2³=8 2⁴=16 2⁵= 32 2⁶= 64 00110 If number is: 0, It doesn't add anything If number is: 1, you have to see the position where the number is. Example: 0 0 1 1 0 Positions: 4 3 2 1 0 (right to left and 0 needs to be count too) If the position is 0 do: 2⁰ = 1 If the position is 1 do: 2¹ = 2 If the position is 2 do: 2² = 4 If the position is 3 do: 2³ = 8 If the position is 4 do: 2⁴ = 16 00110 The 1's here are in position 1 and 2 so you need to do 2¹ + 2² (2 + 4) The answer would be 6 01101 The 1's here are in position 3, 2 and 0 so you need to do 2³ + 2² + 2⁰ (8 + 4 + 1) The answer would be 13 XOR Method: 0 XOR 0 = 0 0 XOR 1 = 1 1 XOR 0 = 1 1 XOR 1 = 0 One, but not both 5 digits XOR Method (Last Puzzle): Example: 10111 and 01101 1.- Take first digits of each. 2.- Do XOR Method 1 XOR 0 = 1 0 XOR 1 = 1 1 XOR 1 = 0 1 XOR 0 = 1 1 XOR 1 = 0 The Answer is 11010