Let $$f_n = 37111111...111$$ with n 1's. Prove that $$f_n$$ will never be prime for $$n\ge1.$$
I tried to look $$f_n$$ in mod(p), assuming $$f_n$$ is prime, for the sake of contradiction. I also tried to apply Wilson and Fermat's small theorem.
I'm sure there must be a simple factorization which I'm overseeing.
Hint: the modular bases you are looking for are $3, 7, 13$ and $37$ for different values of $n$. One of these divides every member of the sequence.