Suppose I have two binary numbers which has a combination of both zeroes and ones. Is it possible to show that such two binary numbers which have at least one zero in it can never be multiplied to give a binary number with no zero in it ( i.e. , the resulting binary number is a combination of only 1's ) ?
Asked
Active
Viewed 304 times
1
-
Binary numbers that have only $1$s are $2^n-1$. $2^m-1$ divides $2^n-1$ when $m$ divides $n$, so some (but not all - see my answer) factors of $2^n-1$ have only $1$s – J. W. Tanner Feb 12 '20 at 05:58
2 Answers
1
Minimal counterexample: the binary number $11111111$.
Indeed, one has $(110011)_2 \times (101)_2 = (11111111)_2 = (51)_{10} \times (5)_{10} = (255)_{10}$ and the smaller binary numbers containing only $1$'s cannot be decomposed as a product of binary numbers containing a $0$: $(11)_2 = (3)_{10}, (111)_2 = (7)_{10}, (11111)_2 = (31)_{10}, (1111111)_2 = (127)_{10}$ are prime, $(1111)_2 = (15)_{10} = (11)_2 \times (101)_2$ and $(111111)_2 = (63)_{10} = (111)_2 \times (1001)_2$.
J.-E. Pin
- 40,163