My birthday is 10th of October or 1010 in MMDD format.
I just realized that 1010 contains two copies of the number 10 and if spelled out in binary,
$1010_2=10$
I was wondering how many other numbers have this property
In general we can use the following formula
$N=\sum_{j=0}^n a_j*2^j$ + $\sum_{j=n+1}^{2n+1}a_{j-n-1}*2^j$
$N=\sum_{k=0}^n a_k*10^k$
(In both equations all the $a_i$ are either $0$ or $1$, n is one less than the number of digits in the repeated digit sequence, so for $1010_2$, $n=1$, $a_0=0$, $a_1=1$)
Subtracting the second from the first and factoring coefficients,
$0=\sum_{d=0}^n a_d*(2^{d}+2^{n+d+1}-10^d)$
$0=\sum_{d=0}^n a_d*2^d*(2^{n+1}+1-5^d)$
I am not sure how to solve from here on out
Also would like to know if there are any other solutions besides 0 and 1 in other bases.
The number of digits in the decimal expression of a number is $\lfloor \log_{10} N \rfloor + 1$, and the number of bits in its binary expansion is $\lfloor \log_2 N \rfloor + 1$, so any number $N$ with the given reduplication property must satisfy $$\lfloor \log_2 N \rfloor + 1 = 2 (\lfloor \log_{10} N \rfloor + 1) .$$ Using twice that $\log_b N \geq \lfloor \log_b N \rfloor > \log_b N - 1$ gives $$\log_2 N < 2 \log_{10} N + 2 = \frac{2}{\log_2 10} \log_2 N + 2.$$ Rearranging gives $$\log_2 N \leq \frac{2 \log_2 10}{\log_2 10 - 2} < 6,$$ so $N < 2^6 ,$ but this leaves only $0, 1, 10, 11$ to check.