The goal is to prove that for every positive integer $ z$ there exists a positive integer $a$ such that $az = 99 \ldots 9900 \ldots 00$.
Let $a = \frac {99 \ldots 9900 \ldots 00}{z}$
That doesn't look right. How do I fix it?
The goal is to prove that for every positive integer $ z$ there exists a positive integer $a$ such that $az = 99 \ldots 9900 \ldots 00$.
Let $a = \frac {99 \ldots 9900 \ldots 00}{z}$
That doesn't look right. How do I fix it?
Suppose we have a number $k$, lets say it has $k_0$ trailing zeroes and $k_d$ digits that are not trailing zeroes. The trick is to multiply $k$ by $2$ until the number formed by the $k_d$ non-trailing zeroes is odd and does not end in $5$. note that the number formed by $k_d$(we reffer to it as $K_d$) is relatively prime to $10$. Therefore there is a power of $10$ which is congruent to 1 mod $K_d$. So we have a solution to $10^n-1\equiv0 \bmod K^d$. So then it is possible to multiply $k$ by $2$ repeatedly until $K_d$ ends with an odd number that is not $5$. And once this happens we can make $K_d$ of the form $999\dots999$ and once that happens we are done because the trailing zeroes will stay unchanged. .