Problem
NT-B2-M11-P006 When One Repunit Divides Another
#6
★★★☆☆ Level 3 of 5
Let \(R_t=\frac{10^t-1}{9}\). Prove that \(R_m\mid R_n\) if and only if \(m\mid n\).
For the converse, divide \(n\) by \(m\) with remainder and consider \(10^n-1\) modulo \(10^m-1\).
If \(m\mid n\), then \(10^m-1\mid10^n-1\), hence \(R_m\mid R_n\).
Conversely, suppose \(R_m\mid R_n\). Then \(10^m-1=9R_m\) divides \(9R_n=10^n-1\). Write \(n=qm+r\), where \(0\le r
A core problem for the entire repunit topic; students should solve it themselves.