Show that for any positive integer $\displaystyle n$, we can find a positive integer $\displaystyle m$ such that the decimal digits of $\displaystyle mn$ are only $\displaystyle 0$'s and $\displaystyle 1$'s.

Printable View

- May 7th 2010, 11:35 AMBruno J.Numbers whose decimal digits are 0 and 1Show that for any positive integer $\displaystyle n$, we can find a positive integer $\displaystyle m$ such that the decimal digits of $\displaystyle mn$ are only $\displaystyle 0$'s and $\displaystyle 1$'s.
- May 7th 2010, 10:10 PMDrexel28
This is a first impresssion again (not that my last was too succesful) but wouldn't the brute force solution just take $\displaystyle n=a_0+\cdots+a_n10^n$ and let $\displaystyle m=b_0+\cdots+b_m10^m$ multiply the two and then reduce this to a linear algebra question on solving equations?

- May 7th 2010, 10:33 PMsimplependulum
Can we just set $\displaystyle m= \frac{1}{n}\left[ \sum_{j=1}^T 10^{b_j \phi(n) } \right ] $

where $\displaystyle T $ is a multiple of $\displaystyle n $ and $\displaystyle b_j , j\in\mathbb{N} $ is any sequence (of course positive ) . - May 7th 2010, 11:08 PMNonCommAlg
- May 7th 2010, 11:22 PMsimplependulum
Perhaps there are some limits in Euler Phi function but if $\displaystyle (n,10) \neq 1 $ then $\displaystyle n $ must be $\displaystyle 2^a 5^b N $ , now $\displaystyle N $ is coprime with $\displaystyle 10 $ . I let $\displaystyle m = 5^a 2^b M $ so $\displaystyle mn = 10^{a+b} MN = MN00000000000000000000000... $ .

- May 10th 2010, 10:37 AMNonCommAlg