Problem 765: (2022 AMC 10b, 6; 2022 AMC 12b, 3)
How many of the first ten numbers of the sequence $121, 11211, 1112111, \ldots$ are prime numbers?
$\textbf{(A)}\ 0 \qquad \textbf{(B)}\ 1 \qquad \textbf{(C)}\ 2 \qquad \textbf{(D)}\ 3 \qquad \textbf{(E)}\ 4$
- The $k$th number is $\underbrace{11\ldots1}_{k}2\underbrace{11\ldots1}_{k}=\underbrace{11\ldots1}_{k+1}\cdot(10^k+1)$; for example $121=11\cdot11$, $11211=111\cdot101$, $1112111=1111\cdot1001$.
- To check: $\underbrace{11\ldots1}_{k+1}\cdot10^k+\underbrace{11\ldots1}_{k+1}$ puts the block of $k+1$ ones shifted by $k$ places on top of the unshifted block; they overlap in one place, giving the digit $2$ there.
- Both factors exceed $1$, so none of the numbers is prime. The answer is (A).
How many of the first ten numbers of the sequence $11,1111,111111,\ldots$ (the $k$th number consists of $2k$ ones) are prime?