Problem:
Let be a sequence of positive integers such that is the number of positive divisors of for every . Suppose that . Prove that there exists an index such that is a perfect square.
Problem:
Let be a sequence of positive integers such that is the number of positive divisors of for every . Suppose that . Prove that there exists an index such that is a perfect square.
Solution:
Observe that for every we have (every positive divisor of is less than or equal to ), and that if and only if , because for the number is not a divisor of .
If , then is a perfect square; if , then , which contradicts the hypothesis. We may therefore assume , in which case the sequence strictly decreases at each step until it reaches the value . Let be the first index for which ; is then an odd prime, because only prime numbers have exactly two positive divisors.
Note now that if a positive integer has an odd number of divisors then it is a perfect square: if it were not, the set of its divisors could be partitioned into pairs of the form (we always have ), and hence it would have even cardinality. It follows that is a perfect square.