# Difference between revisions of "2020 AMC 10B Problems/Problem 24"

## Problem

How many positive integers $n$ satisfy$$\dfrac{n+1000}{70} = \lfloor \sqrt{n} \rfloor?$$(Recall that $\lfloor x\rfloor$ is the greatest integer not exceeding $x$.)

$\textbf{(A) } 2 \qquad\textbf{(B) } 4 \qquad\textbf{(C) } 6 \qquad\textbf{(D) } 30 \qquad\textbf{(E) } 32$

## Solution

First notice that the graphs of $(x+1000)/70$ and $\sqrt[]{n}$ intersect at 2 points. Then, notice that $(n+1000)/70$ must be an integer. This means that n is congruent to $50 (mod 70)$.

For the first intersection, testing the first few values of $n$ (adding $70$ to $n$ each time and noticing the left side increases by $1$ each time) yields $n=20$ and $n=21$.

For the second intersection, using binary search and/or estimating from the graph can narrow down the other cases, being $n=47$, $n=48$, $n=49$, and $n=50$. This results in a total of 6 cases, for an answer of $\boxed{\textbf{(C) }6}$.

~DrJoyo

## Solution 2 (Graphing)

One intuitive approach to the question is graphing. Obviously, you should know what the graph of the square root function is, and if any function is floored (meaning it is taken to the greatest integer less than a value), a stair-like figure should appear. The other function is simply a line with a slope of $1/70$. If you precisely draw out the two regions of the graph where the derivative of the square function nears the derivative of the linear function, you can now deduce that $3$ values of intersection lay closer to the left side of the stair, and $3$ values lay closer to the right side of the stair.

With meticulous graphing, you can realize that the answer is $\boxed{\textbf{(C) }6}$.

A in-depth graph with intersection points is linked below. https://www.desmos.com/calculator/e5wk9adbuk

## Solution 3

• Not a reliable or in-depth solution (for the guess and check students)

We can first consider the equation without a floor function:

$$\dfrac{n+1000}{70} = \sqrt{n}$$

Multiplying both sides by 70 and then squaring:

$$n^2 + 2000n + 1000000 = 4900n$$

Moving all terms to the left:

$$n^2 - 2900n + 1000000 = 0$$

Now we can use wishful thinking to determine the factors:

$$(n-400)(n-2500) = 0$$

This means that for $n = 400$ and $n = 2500$, the equation will hold without the floor function.

Now we can simply check the multiples of 70 around 400 and 2500 in the original equation:

For $n = 330$, left hand side = $19$ but $18^2 < 330 < 19^2$ so right hand side = $18$

For $n = 400$, left hand side = $20$ and right hand side = $20$

For $n = 470$, left hand side = $21$ and right hand side = $21$

For $n = 540$, left hand side = $22$ but $540 > 23^2$ so right hand side = $23$

Now we move to $n = 2500$

For $n = 2430$, left hand side = $49$ and $49^2 < 2430 < 50^2$ so right hand side = $49$

For $n = 2360$, left hand side = $48$ and $48^2 < 2360 < 49^2$ so right hand side = $48$

For $n = 2290$, left hand side = $47$ and $47^2 < 2360 < 48^2$ so right hand side = $47$

For $n = 2220$, left hand side = $46$ but $47^2 < 2220$ so right hand side = $47$

For $n = 2500$, left hand side = $50$ and right hand side = $50$

For $n = 2570$, left hand side = $51$ but $2570 < 51^2$ so right hand side = $50$

Therefore we have 6 total solutions, $n = 400, 470, 2290, 2360, 2430, 2500 = \boxed{\textbf{(C) 6}}$

## Solution 4

This is my first solution here, so please forgive me for any errors.

We are given that $$\frac{n+1000}{70}=\lfloor\sqrt{n}\rfloor$$

$\lfloor\sqrt{n}\rfloor$ must be an integer, which means that $n+1000$ is divisible by $70$. As $1000\equiv 20\pmod{70}$, this means that $n\equiv 50\pmod{70}$, so we can write $n=70k+50$ for $k\in\mathbb{Z}$.

Therefore, $$\frac{n+1000}{70}=\frac{70k+1050}{70}=k+15=\lfloor\sqrt{70k+50}\rfloor$$

Also, we can say that $\sqrt{70k+50}-1\leq k+15$ and $k+15\leq\sqrt{70k+50}$

Squaring the second inequality, we get $k^{2}+30k+225\leq70k+50\implies k^{2}-40k+175\leq 0\implies (k-5)(k-35)\leq0\implies 5\leq k\leq 35$.

Similarly solving the first inequality gives us $k\leq 19-\sqrt{155}$ or $k\geq 19+\sqrt{155}$

$\sqrt{155}$ is slightly larger than $12$, so instead, we can say $k\leq 6$ or $k\geq 32$.

Combining this with $5\leq k\leq 35$, we get $k=5,6,32,33,34,35$ are all solutions for $k$ that give a valid solution for $n$, meaning that our answer is $\boxed{\textbf{(C)} 6}$.

-Solution By Qqqwerw

## Solution 5

We start with the given equation$$\dfrac{n+1000}{70} = \lfloor \sqrt{n} \rfloor$$From there, we can start with the general inequality that $\lfloor \sqrt{n} \rfloor \leq \sqrt{n} < \lfloor \sqrt{n} \rfloor + 1$. This means that$$\dfrac{n+1000}{70} \leq \sqrt{n} < \dfrac{n+1070}{70}$$Solving each inequality separately gives us two inequalities:$$n - 70\sqrt{n} +1000 \leq 0 \rightarrow (\sqrt{n}-50)(\sqrt{n}-20)\leq 0 \rightarrow 20\leq \sqrt{n} \leq 50$$$$n-70\sqrt{n}+1070 > 0 \rightarrow \sqrt{n} < 35-\sqrt{155} , \sqrt{n} > 35+\sqrt{155}$$Simplifying and approximating decimals yields 2 solutions for one inequality and 4 for the other. Hence $2+4 = \boxed{\textbf{(C)} 6}$.

~Rekt4

## See Also

 2020 AMC 10B (Problems • Answer Key • Resources) Preceded byProblem 23 Followed byProblem 25 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 10 Problems and Solutions
 2020 AMC 12B (Problems • Answer Key • Resources) Preceded byProblem 20 Followed byProblem 22 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 12 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.

Invalid username
Login to AoPS