2 ms·
Is this possible in binary? I can't get the result to have the same number of 1s and 0s as the two inputs.
by card_zero 2y ago
Is this possible in binary? I can't get the result to have the same number of 1s and 0s as the two inputs.
- kens 2y agoI find lots of solutions in binary, e.g. 3 and 5: 011 * 101 = 001111. Or if you don't like leading zeroes, 22*29: 10110 * 11101 = 1001111110 A general solution is 2^n+9 and 2^(n+1)-2 for n >= 5
- card_zero 2y agoGood one, I didn't look as far as ten places.
- AtlasBarfed 2y agoTo your point, they are coincidences of the base you are using, not really any inherently interesting imo