I am new to Abstract Algebra, and in the 5th edn. of the book by Hillman, Alexanderson have come across the below question #25 in section 1.2.
For each of the following integers d, find the smallest positive integer n such that $d|(10^{n} - 1).$
(a) d = 7,
(b) d = 11,
(c) d = 13,
(d) d = 37,
(e) d = 77,
(f) d = 91,
(g) d = 407.
I am unable to make sense in the introductory chapter of this question. If could provide some link to solve, then would be highly welcome.