For each number translated into binary $0$, $1$, $10$, $11$, $100$, $101$, $110$, $111$, $1000$, ... find a number where, when you take the length of the binary number, the binary number and the number modulus the first of that many integers greater than $1$ are the same.
Example:
$n=23$. In binary this is $10111$ which has length $=5$.
$23 \equiv 1\pmod{2}$
$23 \equiv 2\pmod{3}$
$23 \equiv 3\pmod{4}$
$23 \equiv 3\pmod{5}$
$23 \equiv 5\pmod{6}$
Taking these as digits, we get the number $12335$. However, $10111\neq 12335$, so $23$ does not fit.
I thought it would be a neat test. I'm not sure if there are any possible matches besides zero and one. How would I go about proving or disproving whether or not there are? There is no solution other than $0$ and $1$ up to $2$ billion.