Number theoryDifficulty 8.0National Olympiad, round 2Prove itTaiwan
Determine whether there exists an infinite sequence of integers a1,a2,a3,… with 0<ai<10 and a positive integer N such that, for every integer k>N, the number i=1∑kai10i−1 is a perfect square?
Solution
Impossible. We use proof by contradiction. Suppose such an infinite sequence and positive integer N exist. Let yk=∑i=1kai10i−1, then for all k>N, there exists a positive integer xk such that yk=xk2.
1. For all n, let γn be the largest positive integer satisfying 5γn∣xn. We will prove: for all n>N, 2γn≥n. Suppose there exists n<N such that 2γn<n, then yn+1=10nan+1+yn=52γn(2n5n−2γnan+1+52γnyn). Since yn/52γn cannot be divisible by 5, we must have γn+1=γn<n<n+1, hence γn=γn+1=⋯=γ. On the other hand, for all k≥n, (xk+1−xk)(xk+1+xk)=yk+1−yk=ak+110k. Since (xk+1−xk)+(xk+1+xk)=2xk+1, by the definition of γ=γk+1, one of these two must not be divisible by 5γ+1. Furthermore, since 5k∣(xk+1−xk)(xk+1+xk), one of them must be divisible by 5k−γ, hence 5k−γ≤max{xk+1−xk,xk+1+xk}<2xk+1=2yk+1<2×10(k+1)/2, This implies 52k<4×52γ×10k+1, that is, (5/2)k<40×52γ. This cannot hold for sufficiently large k, giving a contradiction.
2. Now consider all k>max{N/2,2}. From 1. we know 2γ2k+1≥2k+1 and 2γ2k+2≥2k+2, so γ2k+1≥k+1 and γ2k+2≥k+1. Also, from y2k+2=a2k+2102k+1+y2k+1 we know 52k+2∣y2k+2−y2k+1=a2k+2102k+1, so 5∣a2k+2⇒a2k+2=5. Therefore (x2k+2−x2k+1)(x2k+2+x2k+1)=y2k+2−y2k+1=5×102k+1=22k+152k+2. Let Ak=x2k+2/5k+1, Bk=x2k+1/5k+1; note that by 1., these must be positive integers, and (Ak−Bk)(Ak+Bk)=22k+1(3) Note that a1=0, so Ak and Bk are both odd (otherwise y2k+2 or y2k+1 would be a multiple of 10, which is not allowed). This means that one of Ak−Bk and Ak+Bk is not divisible by 4. Hence by (1), Ak−Bk=2 and Ak+Bk=22k, so Ak=22k−1+1, giving x2k+2=5k+1Ak=10k+12k−2+5k+1>10k+1 (since k≥2) but this means y2k+2>102k+2, a contradiction!
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement translated into English from zh; metadata (topic, difficulty) added by this project.