I have a problem which involves finding composite numbers among given set of numbers of the form $11111...1$$(n-digits)$.
Which of the following numbers is/are composite
(i) $11111...1$$(91-digits)$
(ii) $11111...1$$(81-digits)$
(iii) $11111...1$$(75-digits)$
(iv) $11111...1$$(105-digits)$
Now I know that these numbers can be simplified using Geometric series.
$$11111...1(n-digits) = 10^0+10^1+10^2+....+10^{n-1}$$ $$= \Biggl(\frac{10^n-1}{10-1}\Biggr)$$
But I can't further simplify from here so I help for this.
I have seen a similar post in MSE Primes with digits only 1 but it was tagged under number theory which I am not familier with, my question is about a specific problem from sequence and series.It would be good if I am able to solve using various sequences and series.