Is it possible to know what to multiply with a binary number so the answer contains a string of 1's (in binary)?
e.g. 17 * x = 10001 * x = 1111..... sol: 17 * 15 = 10001 * 1111 = 1111111
e.g. 11 * x = 1011 * x = 1111..... sol: 11 * 93 = 10001 * 1011101= 1111111111
is it possible to somehow know the value of x without checking every possible value?
edit: the initial no, which needs to be multiplied has will always be odd!
It is fairly easy to get a formula that works all the time, except that it may not always give you the smallest multiplier.
Let's say you have an odd number $y$. Then it is coprime with $2$, which, by Euler's theorem (https://en.wikipedia.org/wiki/Euler%27s_theorem) means that $y\mid 2^{\varphi(y)}-1$, where $\varphi$ is Euler's totient function ($\varphi(y)$ is the number of all numbers in the set $\{1, 2, \ldots, y-1\}$ coprime with $y$).
So, you can take $x=\frac{2^{\varphi(y)}-1}{y}$ and note that $2^{\varphi(y)}-1$ has all-ones in its binary representation.
As I said, this won't always give you the smallest number $x$. For example, $y=17$ gives you $\varphi(y)=16$ and so $x=\frac{2^{16}-1}{17}=3855$. For the other example you've given, $y=11$, $\varphi(y)=10$ and $x=\frac{2^{10}-1}{11}=93$.