This is an exercise from a sequence and series book that I am solving.
I tried manipulating the number to make it easier to work with:
$$111...1 = \frac{1}9(999...) = \frac{1}9(10^{55} - 1)$$
as the number of $1$'s is $55$.
The exercise was under Geometric Progression and Geometric Mean. However, I am unable to think of a way to solve this problem using GP.
How do I proceed from here?
The number is composite.
We have
\begin{align*} \underbrace{11\ldots111}_{55 \text{ times }} = \frac{1}{9} \cdot (10^{55} - 1) \\ = \frac{1}{9} \cdot ((10^{5})^{11} - 1) \\ \end{align*}
Also, note that $x^{m} - 1$ is divisible by $x - 1$. Here, we can plug in $x = 10^{5}$ and $m = 11$. As a result, we see that the quantity is divisible by $99999$, meaning that the number must be divisible by $11111$ (and hence, composite).