Difference between revisions of "2013 IMO Problems/Problem 1"
(→Alternative Solution) |
(→Alternative Solution) |
||
Line 24: | Line 24: | ||
==Alternative Solution== | ==Alternative Solution== | ||
− | We will | + | We will construct telescoping product out of positive integers: |
<cmath>\frac{a_2}{a_1}\cdot\frac{a_3}{a_2}\cdot\frac{a_4}{a_3} \cdot \frac{a_{k+1}}{a_k} = \frac{a_{k+1}}{a_1} = \frac{\left(a_1+2^{k}-1\right)}{a_1}</cmath> | <cmath>\frac{a_2}{a_1}\cdot\frac{a_3}{a_2}\cdot\frac{a_4}{a_3} \cdot \frac{a_{k+1}}{a_k} = \frac{a_{k+1}}{a_1} = \frac{\left(a_1+2^{k}-1\right)}{a_1}</cmath> | ||
− | where <math>a_1=n</math> and each fraction <math>\frac{a_{i+1}}{a_i}=\frac{a_{i}+\Delta_i}{a_i}</math> can also be written as <math>\frac{m_i+1}{m_i}</math> for some positive integer <math>m_i</math>. All <math>\Delta_i</math> will be different with <math>\Delta_i=2^j</math> for some <math>0\le j \le k-1</math>. | + | where <math>a_1=n</math> and where each fraction <math>\frac{a_{i+1}}{a_i}=\frac{a_{i}+\Delta_i}{a_i}</math> can also be written as <math>\frac{m_i+1}{m_i}</math> for some positive integer <math>m_i</math>. All <math>\Delta_i</math> will be different with <math>\Delta_i=2^j</math> for some <math>0\le j \le k-1</math>. <math>\sum_{i=1}^{k}{\Delta_i}=\sum_{i=1}^{k}{2^{i-1}}=2^{k}-1</math>. |
+ | |||
+ | Let's pull out factors of <math>2</math> if there are any: | ||
+ | <math>n=2^j(2z+1)</math>, <math>z+1=2^q(2r+1)</math> etc where <math>j\ge 0</math>, <math>q\ge 0</math>. | ||
+ | Construct telescoping as <math>\frac{2^j(2z+2)}{2^j(2z+1)}\cdot \frac{2^{j+1+q}(2r+2)}{2^{j+1+q}(2r+1)}</math>. Every <math>\Delta_i</math> can be bigger then previous <math>\Delta_{i-1}</math> by at least factor <math>2</math>. The biggest needed <math>\Delta=2^{k-1}</math> can be constructed in at most <math>k</math> steps. | ||
+ | |||
+ | <math>z+1=2^q(2r+1)</math> for <math>q\ge 0</math>, the next telescoping fraction is <math>\frac{2^j(2z+2)}{2^j(2z+1)}</math> | ||
Fractions with <math>\Delta_i</math> of this form can be constructed in the following way. We will start buiding telescoping product by trying to construct the highest remaining required <math>\Delta_j</math> which is <math>2^{k-1}</math> at the beginning. If <math>n</math> is odd use fraction <math>\frac{n+1}{n}</math>, else you can use <math>\frac{\frac{n}{2}+1}{\frac{n}{2}}=\frac{n+2}{n}</math> which constructs <math>\Delta=2</math>. If <math>{\frac{n}{2}}</math> is even we instead can use <math>\frac{\frac{n}{4}+1}{\frac{n}{4}}=\frac{n+2^2}{n}</math> which constructs <math>\Delta=2^2</math> etc. If finally <math>{\frac{n}{2^j}}</math> is odd and <math>j<k-1</math> then we use fraction <math>\frac{\frac{n}{2^j}+1}{\frac{n}{2^j}}=\frac{n+2^j}{n}</math> that has <math>\Delta=2^j</math>. In that case the next fraction from our telescoping series has denominator <math>\frac{n}{2^j}+1</math> which is even so we can take <math>\frac{\frac{\frac{n}{2^j}+1}{2}+1}{\frac{\frac{n}{2^j}+1}{2}}=\frac{n+3\cdot 2^j}{n+2^j}</math> which has <math>\Delta=2^{j+1}</math>. That is we can use at most one step ( one fraction from the telescoping product) to increase <math>\Delta</math> by factor of <math>2</math> from the <math>\Delta</math> in the previous fraction. In the worst case we will reach the highest <math>\Delta=2^{k-1}</math> using <math>k</math> steps ( <math>k</math> fractions in the telescoping product). All other needed <math>\Delta_i=2^{i-1}</math> would be already constructed by that time. In the best case <math>n= 2^q</math> where <math>q \ge k-1</math> and we can construct the highest needed <math>\Delta</math> using the very 1st fraction. | Fractions with <math>\Delta_i</math> of this form can be constructed in the following way. We will start buiding telescoping product by trying to construct the highest remaining required <math>\Delta_j</math> which is <math>2^{k-1}</math> at the beginning. If <math>n</math> is odd use fraction <math>\frac{n+1}{n}</math>, else you can use <math>\frac{\frac{n}{2}+1}{\frac{n}{2}}=\frac{n+2}{n}</math> which constructs <math>\Delta=2</math>. If <math>{\frac{n}{2}}</math> is even we instead can use <math>\frac{\frac{n}{4}+1}{\frac{n}{4}}=\frac{n+2^2}{n}</math> which constructs <math>\Delta=2^2</math> etc. If finally <math>{\frac{n}{2^j}}</math> is odd and <math>j<k-1</math> then we use fraction <math>\frac{\frac{n}{2^j}+1}{\frac{n}{2^j}}=\frac{n+2^j}{n}</math> that has <math>\Delta=2^j</math>. In that case the next fraction from our telescoping series has denominator <math>\frac{n}{2^j}+1</math> which is even so we can take <math>\frac{\frac{\frac{n}{2^j}+1}{2}+1}{\frac{\frac{n}{2^j}+1}{2}}=\frac{n+3\cdot 2^j}{n+2^j}</math> which has <math>\Delta=2^{j+1}</math>. That is we can use at most one step ( one fraction from the telescoping product) to increase <math>\Delta</math> by factor of <math>2</math> from the <math>\Delta</math> in the previous fraction. In the worst case we will reach the highest <math>\Delta=2^{k-1}</math> using <math>k</math> steps ( <math>k</math> fractions in the telescoping product). All other needed <math>\Delta_i=2^{i-1}</math> would be already constructed by that time. In the best case <math>n= 2^q</math> where <math>q \ge k-1</math> and we can construct the highest needed <math>\Delta</math> using the very 1st fraction. |
Revision as of 00:05, 12 July 2023
Contents
[hide]Problem
Prove that for any pair of positive integers and
, there exist
positive integers
(not necessarily different) such that
.
Solution
We prove the claim by induction on .
Base case: If then
, so the claim is true for all positive integers
.
Inductive hypothesis: Suppose that for some the claim is true for
, for all
.
Inductive step: Let be arbitrary and fixed. Case on the parity of
:
[Case 1: is even]
[Case 2: is odd]
In either case, for some
.
By the induction hypothesis we can choose such that
.
Therefore, since was arbitrary, the claim is true for
, for all
. Our induction is complete and the claim is true for all positive integers
,
.
Alternative Solution
We will construct telescoping product out of positive integers:
where
and where each fraction
can also be written as
for some positive integer
. All
will be different with
for some
.
.
Let's pull out factors of if there are any:
,
etc where
,
.
Construct telescoping as
. Every
can be bigger then previous
by at least factor
. The biggest needed
can be constructed in at most
steps.
for
, the next telescoping fraction is
Fractions with of this form can be constructed in the following way. We will start buiding telescoping product by trying to construct the highest remaining required
which is
at the beginning. If
is odd use fraction
, else you can use
which constructs
. If
is even we instead can use
which constructs
etc. If finally
is odd and
then we use fraction
that has
. In that case the next fraction from our telescoping series has denominator
which is even so we can take
which has
. That is we can use at most one step ( one fraction from the telescoping product) to increase
by factor of
from the
in the previous fraction. In the worst case we will reach the highest
using
steps (
fractions in the telescoping product). All other needed
would be already constructed by that time. In the best case
where
and we can construct the highest needed
using the very 1st fraction.
--alexander_skabelin 9:24, 11 July 2023 (EST)
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.