Proof about powers of 10-s

Правка en7, от snorkel, 2021-04-10 08:11:59

Recently I was solving the problem which said that I have to find the smallest number consisting of only 1-s (1, 11, 111, ...) which will be divisible by the given number $$$n$$$. This problem is easy, but I was surprised that it is possible for any $$$n$$$ not divisible $$$2$$$ and $$$5$$$. (at least for $$$<= 100 000$$$). How can I prove this?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en7 Английский snorkel 2021-04-10 08:11:59 1 Tiny change: 'number $n$ This prob' -> 'number $n$. This prob'
en6 Английский snorkel 2021-04-10 08:11:35 54
en5 Английский snorkel 2021-04-10 08:11:07 26 Tiny change: 'number $n$. This pr' -> 'number $n$ not divisible $2$ and $5$. This pr'
en4 Английский snorkel 2021-04-10 07:54:51 56
en3 Английский snorkel 2021-04-10 07:54:04 39
en2 Английский snorkel 2021-04-10 07:53:16 28 Tiny change: 'number $n$. This pro' -> 'number $n$ (at least for ${le} 100 000$). This pro'
en1 Английский snorkel 2021-04-10 07:50:17 323 Initial revision (published)