[Math] Percentage of natural numbers that are perfect squares

elementary-number-theorynumber theory

While reading about the prime number distribution I came across this fact that the percentage of natural numbers that are perfect square is zero. How do I prove this ?

Best Answer

"Percentage" is a bad word, you mean something like natural density.

For that it's easy, as the limit exists, you just compute

$$\lim_{n\to\infty} {\#\{m^2 < n : m\in\Bbb N\}\over n}$$

The numerator is bounded above by $\sqrt{n}$ so we get

$$0\le\lim_{n\to\infty} {\#\{m^2 < n : m\in\Bbb N\}\over n}\le \lim_{n\to\infty} {1\over\sqrt n}=0$$

Related Question