At most one divisor in $[\sqrt{n},\sqrt{n}+\sqrt[4]{n}]$

In one math book I'm reading there was the following problem, given as an exercise:

For any $n\in\Bbb N$ there is at most one divisor of $n$ in the interval $[\sqrt{n},\sqrt{n}+\sqrt[4]{n}]$.

I was unable to solve this problem myself, and author didn't leave any hint for this problem (which, presumably, means that it's quite simple).

Friend of mine has found a proof which uses AM-GM inequality, but I'm quite certain there is a proof avoiding it, because the convention in this book appears to be that every exercise can be solved only using methods already covered in earlier chapters, and this exercise is at the end of a chapter about divisibility (gcd, prime numbers and so on).

Is anyone aware of, or can come up with, such a solution of this problem?

Thanks in advance.

Edit: I thought it might be a good idea to post the solution my friend came up with. So here it is:

Suppose we have two distinct divisors in the interval in question, and let $d$ be their GCD. Write these divisors as $da,db$, so that $gcd(a,b)=1$. Wlog, let $a<b$. Because $\sqrt{n}\leq da<db\leq\sqrt{n}+\sqrt[4]{n}$, we know that $d\leq\sqrt[4]{n}$.

Because $da\mid n,db\mid n$, we get $dab=lcm(da,db)\mid n$. Write $n=dabk$. Because $db>da\geq\sqrt{n}$ we get $dadb>n=dabk$, so $d>k$.

From $a<b$ we know that $a\leq b-1$, similarly we know from $k<d$ that $k\leq d$. So $n=dabk\leq d(d-1)b(b-1)<(d-1/2)^2(b-1/2)^2$ (first use of AM-GM). We can also find $\sqrt{(b-1/2)(d-1/2)}\leq(b-1/2+d-1/2)/2=b/2+d/2-1/2$ (second use of AM-GM).

From last two inequalities we can find $\sqrt{n}+\sqrt[4]{n}<(b-1/2)(d-1/2)+b/2+d/2-1/2=bd-1/4<bd$, contradicting assumption that $bd\leq\sqrt{n}+\sqrt[4]{n}$.

I know that, as we just use AM-GM for two numbers we can easily prove the inequalities other way, but I feel like it's a bit of cheating here.


Solution 1:

Assume that $x\in \mathbb{R}$ is positive and $\sqrt{n} - x$ is an integer divisor of $n$. Now, consider $$\frac{n}{\sqrt{n} - x -1} - \frac{n}{\sqrt{n} - x}.$$ I claim that this is a little bit more than $1$. Not much more for small $x$, but a little. And, as we decrease the first denominator in steps of $1$, the difference keeps increasing by just a little more than $1$ at each step. For ${\sqrt{n} - x -k}$ to be a divisor, we need these little bits to add to some integer. At the very least, we need them to add to $1$ or more. That is, it is necessary that $$f(x, y) = \frac{n}{\sqrt{n} - y} - \frac{n}{\sqrt{n} - x} -(y - x) \geq 1$$ for $\sqrt{n} - x$ and $\sqrt{n} - y$ to be integer divisors of $n$ with $0\leq x<y$. Some calculus will tell you that $f$ increases as $x$ goes to $0$ and as $y$ increases.

Let $y_0$ be such that $$f(0, y_0) = \frac{n}{\sqrt{n} - y_0} - \sqrt{n} - y_0 = 1.$$ Therefore$$y_0^2 +y_0 -\sqrt{n} = 0$$ and $$ y_0= -\frac{1}{2} + \sqrt{\frac{1}{4} + \sqrt{n}} > -\frac{1}{2} + \sqrt[4]{n}$$ and finally $$\frac{n}{\sqrt{n} - y_0} = 1 + \sqrt{n} + y_0 > \frac{1}{2} + \sqrt{n} + \sqrt[4]{n}.$$ We conclude that there isn't enough space in the interval $[\sqrt{n}, \sqrt{n} + \sqrt[4]{n}]$ to get the increase in $f$ that is a necessary condition for there being two divisors.