×

# Prime Sequence

Consider the sequence $$a_1 = 101, a_2 = 10101, a_3 = 1010101$$ and so on. Prove that $$a_k$$ is composite iff $$k\geq 2$$.

Note by D K
8 months, 1 week ago

Sort by:

Aha I see it. Any even one a sub 2k can be written in the form (a sub k)^2-100^k which neatly factors to (a sub k+10^k)(a sub k-10^k) for all evens. Sorry for my latex. And the odd case is trivial. · 8 months, 1 week ago

I have another unanswered discussion question. Can you take a look at it? · 8 months, 1 week ago

Nice observation. Kudos. · 8 months, 1 week ago

That's interesting. I can show that if $$k$$ is composite, then $$a_k$$ is composite and has a factor of 101...101. · 8 months, 1 week ago