Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A while back I asked a question concerning the existence of squares of the form $1234567891011\ldots$ This question is similar but more general. Let $n,p,\ell$ be positive integers, then we define $c(n,p,\ell)$ to be the concatenation of numbers starting with $n$, having a period $p$, and length (or number of steps) $\ell$, then we might ask ourselves - When is $c(n,p,\ell)$ square? For example $$c(1,p,0)=1,$$ $$c(4,p,0)=4,$$ $$c(1,20,1)=121,$$ $$c(10,14,1)=1024.$$ A non-example: $$c(1,2,5)=1357911.$$ So, it's easy to find numbers with $\ell\leqslant 1$ being square, but I have not been able to find any square of the form $c(n,p,2)$. Is there such a number? In particular I'd like to know whether there is any literature relating to this, or some similar problem.

UPDATE: Gerry Myerson found a number satisfying the requirements! For completeness I will list the numbers $c(n,p,2)$ with $n<20$, $p<20000$ below.


share|cite|improve this question
what do you mean by steps (l)? can you give an example with c(,,2)? – j13r Apr 21 '12 at 10:17
@j13r: I have edited the post. – Carolus Apr 21 '12 at 10:21


share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.