Assume that a1,a2,a3,… is such a sequence. For each positive integer k, let yk= akak−1…a1. By the assumption, for each k>N there exists a positive integer xk such that yk=xk2. I. For every n, let 5γn be the greatest power of 5 dividing xn. Let us show first that 2γn⩾n for every positive integer n>N. Assume, to the contrary, that there exists a positive integer n>N such that 2γn<n. Then 52γn∣xn2=yn, but 5n∤yn, which contradicts the fact that yn is a perfect square. Therefore, 2γn⩾n for every positive integer n>N. II. Consider now any integer k>max{N/2,2}. Since 2γ2k+1⩾2k+1 and 2γ2k+2⩾2k+2, we have γ2k+1⩾k+1 and γ2k+2⩾k+1. So, from y2k+2=a2k+2⋅102k+1+y2k+1 we obtain 52k+2∣y2k+2−y2k+1=a2k+2⋅102k+1 and thus 5∣a2k+2, which implies a2k+2=5. Therefore, (x2k+2−x2k+1)(x2k+2+x2k+1)=x2k+22−x2k+12=y2k+2−y2k+1=5⋅102k+1=22k+1⋅52k+2. Setting Ak=x2k+2/5k+1 and Bk=x2k+1/5k+1, which are integers, we obtain (Ak−Bk)(Ak+Bk)=22k+1. Both Ak and Bk are odd, since otherwise y2k+2 or y2k+1 would be a multiple of 10 which is false by a1=0; so one of the numbers Ak−Bk and Ak+Bk is not divisible by 4 . Therefore (1) yields Ak−Bk=2 and Ak+Bk=22k, hence Ak=22k−1+1 and thus x2k+2=5k+1Ak=10k+1⋅2k−2+5k+1>10k+1, since k⩾2. This implies that y2k+2>102k+2 which contradicts the fact that y2k+2 contains 2k+2 digits. The desired result follows.