Prove that if $\underbrace{11...11}_{n}$ is a prime number, also $n$ is a prime number.
There's already a similar thread here, but because of this weird requirement about having at least 50 reputation, I can't add a comment to ask for clarification…
So, don't all those proofs show only that if n is composite, also the number is composite, which doesn't necessarily need to mean that if the number is prime, then also n is prime?
EDIT: As I mentioned at the beginning, I know there's already a thread with a similar question, and that I only asked this one because I couldn't add a comment there. There's nothing more I can add to my question to make it different. If anyone has a problem with it, then they can close the question...