Difference between revisions of "1994 USAMO Problems/Problem 1"
(→Solution) |
|||
Line 2: | Line 2: | ||
==Solution== | ==Solution== | ||
+ | We want to show that the distance between <math>s_n</math> and <math>s_{n+1}</math> is greater than the distance between <math>s_n</math> and the next perfect square following <math>s_n</math>. | ||
+ | |||
+ | Given <math>s_n=\sum_{i=1}^{n}k_i</math>, where no <math>k_i</math> are consecutive, we can put a lower bound on <math>k_n</math>. This occurs when all <math>k_{i+1}=k_i+2</math>: | ||
+ | |||
+ | <cmath>\begin{align*} | ||
+ | s_n&=(k_{n,min})+(k_{n,min}-2)+(k_{n,min}-4)+\dots+(k_{n,min}-2n+2)\\ | ||
+ | |||
+ | &=nk_{n,min}-\sum_{i=1}^{n-1}2i\\ | ||
+ | |||
+ | &=nk_{n,min}-2\sum_{i=1}^{n}i+2n\\ | ||
+ | |||
+ | &=nk_{n,min}-n(n+1)+2n\\ | ||
+ | |||
+ | &=nk_{n,min}-n^2+n | ||
+ | \end{align*}</cmath> | ||
+ | |||
+ | Rearranging, <math>k_{n,min}=\frac{s_n}{n}+n-1</math>. So, <math>k_n\geq\frac{s_n}{n}+n-1</math>, and the distance between <math>s_n</math> and <math>s_{n+1}</math> is <math>k_{n+1}\geq k_n+2\geq\frac{s_n}{n}+n+1</math>. | ||
+ | |||
+ | Also, let <math>d(s_n)</math> be the distance between <math>s_n</math> and the next perfect square following <math>s_n</math>. Let's look at the function <math>d(x)</math> for all positive integers <math>x</math>. | ||
+ | |||
+ | When <math>x</math> is a perfect square, it is easy to see that <math>d(x)=2\sqrt{x}+1</math>. | ||
+ | Proof: Choose <math>x=m^2</math>. <math>d(m^2)=(m+1)^2-m^2=2m+1=2\sqrt{m^2}+1</math>. | ||
+ | |||
+ | When <math>x</math> is not a perfect square, <math>d(x)<2\sqrt{x}+1</math>. | ||
+ | Proof: Choose <math>x=m^2+p</math> with <math>0<p<2m+1</math>. <math>d(m^2+p)=(m+1)^2-m^2-p=2m+1-p<2m+1=2\sqrt{m^2}+1<2\sqrt{m^2+p}+1</math>. | ||
+ | |||
+ | So, <math>d(x)\leq 2\sqrt{x}+1</math> for all <math>x</math> and <math>d(s_n)\leq 2\sqrt{s_n}+1</math> for all <math>s_n</math>. | ||
+ | |||
+ | Now, it suffices to show that <math>k_{n+1}\geq d(s_n)</math> for all <math>n</math>. | ||
+ | |||
+ | <cmath>\begin{align*} | ||
+ | k_{n+1}-d(s_n)&\geq \frac{s_n}{n}+n+1-2\sqrt{s_n}-1\\ | ||
+ | |||
+ | &=\frac{1}{n}(s_n+n^2-2n\sqrt{s_n})\\ | ||
+ | |||
+ | &=\frac{s_n^2+n^4+2n^2s_n-4n^2s_n}{n(s_n+n^2+2n\sqrt{s_n})}\\ | ||
+ | |||
+ | &=\frac{(s_n-n^2)^2}{n(s_n+n^2+2n\sqrt{s_n})}\\ | ||
+ | |||
+ | &\geq 0 | ||
+ | \end{align*}</cmath> | ||
+ | |||
+ | So, <math>k_{n+1}\geq d(s_n)</math> and all intervals between <math>s_n</math> and <math>s_{n+1}</math> will contain at least one perfect square. | ||
+ | |||
+ | |||
+ | |||
{{MAA Notice}} | {{MAA Notice}} |
Revision as of 14:04, 29 May 2014
Let , be positive integers, no two consecutive, and let , for . Prove that, for each positive integer , the interval , contains at least one perfect square.
Solution
We want to show that the distance between and is greater than the distance between and the next perfect square following .
Given , where no are consecutive, we can put a lower bound on . This occurs when all :
\begin{align*} s_n&=(k_{n,min})+(k_{n,min}-2)+(k_{n,min}-4)+\dots+(k_{n,min}-2n+2)\\ &=nk_{n,min}-\sum_{i=1}^{n-1}2i\\ &=nk_{n,min}-2\sum_{i=1}^{n}i+2n\\ &=nk_{n,min}-n(n+1)+2n\\ &=nk_{n,min}-n^2+n \end{align*} (Error compiling LaTeX. Unknown error_msg)
Rearranging, . So, , and the distance between and is .
Also, let be the distance between and the next perfect square following . Let's look at the function for all positive integers .
When is a perfect square, it is easy to see that . Proof: Choose . .
When is not a perfect square, . Proof: Choose with . .
So, for all and for all .
Now, it suffices to show that for all .
\begin{align*} k_{n+1}-d(s_n)&\geq \frac{s_n}{n}+n+1-2\sqrt{s_n}-1\\ &=\frac{1}{n}(s_n+n^2-2n\sqrt{s_n})\\ &=\frac{s_n^2+n^4+2n^2s_n-4n^2s_n}{n(s_n+n^2+2n\sqrt{s_n})}\\ &=\frac{(s_n-n^2)^2}{n(s_n+n^2+2n\sqrt{s_n})}\\ &\geq 0 \end{align*} (Error compiling LaTeX. Unknown error_msg)
So, and all intervals between and will contain at least one perfect square.
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.