1. Lemma 1: Given any non-zero integer a, there exists a prime number p and an integer m such that p2m+a has a prime divisor q such that vq(p2m+a) is odd.
Proof:
- If a is even and 3∤a, take p=3 and m sufficiently large so that 32m+a is not a perfect square. Since 3∤32m+a and 2∤32m+a, there exists a prime divisor q>3 of 32m+a such that vq(32m+a) is odd.
- If a is even and 3∣a, take a sufficiently large prime p and sufficiently large m such that p2m+a is not a perfect square. Since 2,3∤p2m+a, it has a prime divisor q>3 for which vq(p2m+a) is odd.
- If a is odd and 3∣a, take p=2 and m sufficiently large so that 22m+a is not a perfect square. Since 2,3 are not divisors of 22m+a, it has a divisor q>3 so that vq(22m+a) is odd.
- If a is odd and a≡1(mod3), take p=2 and m sufficiently large so that 22m+a is not a perfect square. Since 2,3 are not divisors of 22m+a, it has a divisor q with vq(22m+a) odd.
Finally, consider the case when a is odd and a≡−1(mod3). Assume the lemma is false. For sufficiently large odd x, 22x+a is not a perfect square. By our assumption, for all primes q>3, vq(22x+a) is even. Thus, v3(22x+a) is odd. Hence, 322x+a is a perfect square and odd. So,
222x+a=b2⟹22x+a=3b2≡3(mod8)⟹a+1≡4(mod8)
Which means v2(a+1)=2.
Now observe that, for large odd x,
v2(32x−1)=v2(x)+3=3
But then,
v2(32x+a)=v2(32x−1+a+1)=min{v2(32x−1),v2(a+1)}=2
Since 32x+a is not a perfect square for large x, 3 does not divide it and v2(32x+a) is 2. Hence, 32x+a must have a divisor q>3 with vq(32x+a) odd. This contradicts our assumption. ■
2. Lemma 2: Given any r∈N and r integers a1,a2,…,ar such that at least one of them is non-zero, we can find distinct primes p1,p2,…,pr and positive integers m1,m2,…,mr such that the number
(p12m1+a1)(p22m2+a2)…(pr2mr+ar)
has a prime divisor q>3 such that
vq((p12m1+a1)(p22m2+a2)…(pr2mr+ar))
is odd. In particular, the number is not a perfect square.
Proof:
We can cancel out all terms of the form (pk2mk+ak) where ak=0 since it contributes a perfect square. So, WLOG, assume all ai=0. We will prove the claim by induction on r.
The base case is basically the previous lemma. Now assume that the lemma is true for r=1,2,…,k−1. Therefore, by induction hypothesis, there are k−1 primes q2,q3,…,qk and k−1 positive integers m2,m3,…,mk such that
Q=(q22m2+a2)…(qk2mk+ak)
has a prime divisor q>3 such that vq(Q) is odd.
Now by Dirichlet's theorem, there exists a sufficiently large prime p=q such that
p≡1(modq)andp≡−1(modq)
Since q>3, this can be found. Now, observe that for sufficiently large m, q can't divide both p2m+a1 and p2m+2+a1 since otherwise, q will divide their difference, i.e., q∣p2m(p−1)(p+1). This is a contradiction.
So, we can find p and m1 such that vq(p2m1+a1)=0.
So indeed,
vq((p2m+a1)(q22m2+a2)…(pk2mk+ak))
is odd. And the induction is complete. ■
3. Main Problem:
Assume that
a=p1g1p2g2…prgr
and
b=p1h1p2h2…prhr
Assume for the sake of contradiction that a=b. Therefore, there is some i for which gi=hi.
Take
n=p1x1p2x2…prxr
where xi=qici−gi−1 where primes qi and powers will be determined later. Then
τ(τ(an))=τ(q1c1q2c2…qrcr)=(c1+1)(c2+1)…(cr+1)
So for all even ci, τ(τ(an)) is odd.
Now observe that,
τ(τ(bn))=τ((q1c1+h1−g1)(q2c2+h2−g2)…(qrcr+hr−gr))
Since there exists at least one hk−gk=0, by the previous lemma, there exist distinct primes q1,q2,…,qr and even c1,c2,…,cr such that (q1c1+h1−g1)(q2c2+h2−g2)…(qrcr+hr−gr) is not a perfect square. So for that particular n,
τ(τ(bn))=τ((q1c1+h1−g1)(q2c2+h2−g2)…(qrcr+hr−gr))=even
Hence, τ(τ(an))=τ(τ(bn)). This is a contradiction. ■