Example 5 Delete all perfect squares from the sequence of positive integers , to get a new sequence . Then the 2003rd term of is ( ).
(A) 2046
(B) 2047
(C) 2048
(D) 2049
(2003, National High School Mathematics Competition)
Problem 562
Official solution
Explanation: We solve a more general problem, finding the general term formula of the new sequence .
Since , in the sequence of positive integers , there are numbers between and , all of which are terms of . All these numbers, arranged in ascending order, form the sequence . We group the sequence as follows:
where the -th group has numbers.
If is in the -th group, then
and
\begin{array}{l}
{[2+4+\cdots+2(k-1)]+1} \\
\leqslant n0 .
\end{array}\right.
Noting that , we solve to get
Since , and
we have .
Therefore, .
When ,
Note: This problem has appeared in various forms in different mathematics competitions, such as
(1) Prove that in the sequence of positive integers, after removing all perfect squares, the -th term is equal to , where represents the integer closest to .
(27th Putnam Mathematical Competition )
(2) Prove that if the positive integer is not a perfect square, then there exists a positive integer such that
(1992, St. Petersburg Selection Exam)