Olympiad Maths Prep

Track / Stage 4 / 302 of 340 #562 of 2000

Problem 562

AMC 12 late, AIME early
Number theory Difficulty 5.0 Find the answer

Example 5 Delete all perfect squares from the sequence of positive integers 1,2,3,1,2,3, \cdots, to get a new sequence {an}\left\{a_{n}\right\}. Then the 2003rd term of {an}\left\{a_{n}\right\} is ( ).
(A) 2046
(B) 2047
(C) 2048
(D) 2049
(2003, National High School Mathematics Competition)

Official solution

Explanation: We solve a more general problem, finding the general term formula of the new sequence {an}\left\{a_{n}\right\}.

Since (k+1)2k21=2k,kZ+(k+1)^{2}-k^{2}-1=2 k, k \in \mathbf{Z}_{+}, in the sequence of positive integers 1,2,3,1,2,3, \cdots, there are 2k2 k numbers between k2k^{2} and (k+1)2(k+1)^{2}, all of which are terms of {an}\left\{a_{n}\right\}. All these numbers, arranged in ascending order, form the sequence {an}\left\{a_{n}\right\}. We group the sequence {an}\left\{a_{n}\right\} as follows:
(2,3),(5,6,7,8),(10,11,12,13,14,15),,(k2+1,k2+2,,k2+2k),, \begin{array}{c} (2,3),(5,6,7,8),(10,11,12,13,14,15), \\ \cdots,\left(k^{2}+1, k^{2}+2, \cdots, k^{2}+2 k\right), \cdots, \end{array}

where the kk-th group has 2k2 k numbers.
If ana_{n} is in the kk-th group, then
an=k2+n[2+4++2(k1)]=n+k, a_{n}=k^{2}+n-[2+4+\cdots+2(k-1)]=n+k,

and
\begin{array}{l} {[2+4+\cdots+2(k-1)]+1} \\ \leqslant n0 . \end{array}\right.

Noting that k>0k>0, we solve to get
12+n34<k12+n34 -\frac{1}{2}+\sqrt{n-\frac{3}{4}}<k \leqslant \frac{1}{2}+\sqrt{n-\frac{3}{4}} \text {. }

Since kZ+k \in \mathbf{Z}_{+}, and
12+n34(12+n34)=1 \frac{1}{2}+\sqrt{n-\frac{3}{4}}-\left(-\frac{1}{2}+\sqrt{n-\frac{3}{4}}\right)=1 \text {, }

we have k=[12+n34]k=\left[\frac{1}{2}+\sqrt{n-\frac{3}{4}}\right].
Therefore, an=n+[12+n34]a_{n}=n+\left[\frac{1}{2}+\sqrt{n-\frac{3}{4}}\right].
When n=2003n=2003,
a20B=2003+[200334+12]=2048 a_{20 B}=2003+\left[\sqrt{2003-\frac{3}{4}}+\frac{1}{2}\right]=2048 \text {. }

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 nn-th term is equal to n+(n)n+(n), where (n)(n) represents the integer closest to n\sqrt{n}.
(27th Putnam Mathematical Competition A4\mathrm{A}-4 )
(2) Prove that if the positive integer AA is not a perfect square, then there exists a positive integer nn such that
A=[n+n+12] A=\left[n+\sqrt{n}+\frac{1}{2}\right] \text {. }
(1992, St. Petersburg Selection Exam)

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.