×

# 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
1 year, 4 months 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. · 1 year, 4 months ago

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

Nice observation. Kudos. · 1 year, 4 months ago

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