Maths Olympiad Prep

Library / Progetto Olimpiadi di Matematica GARA di SECONDO LIVELLO /29 of 36

Progetto Olimpiadi di Matematica GARA di SECONDO LIVELLO, 2005

Number theory Difficulty 6.0 AIME, harder Prove it Italy

Problem:

Determine all pairs (m,n)(m, n) of positive integers mm and nn such that
3m+32n+2n−1 \frac{3^{m}+3}{2^{n}+2^{n-1}}
is an integer.

Solution

Solution:

The solutions are all pairs of these three types:
(a) (m,1)(m, 1) for every positive integer mm
(b) (m,2)(m, 2) for every positive integer mm
(c) (m,3)(m, 3) for every even positive integer mm

We can first factor out a 3 from the numerator and the denominator of the fraction:
3m+32n+2n−1=3(3m−1+1)2n−1(2+1)=3m−1+12n−1 \frac{3^{m}+3}{2^{n}+2^{n-1}}=\frac{3\left(3^{m-1}+1\right)}{2^{n-1}(2+1)}=\frac{3^{m-1}+1}{2^{n-1}}
So we must determine by which powers of 2 the number 3m−1+13^{m-1}+1 is divisible. It is trivial to note that this number is always odd, hence (m,1)(m, 1) and (m,2)(m, 2) are solutions for any value of mm. Now, let us factor the numerator using these well-known identities:
xk+yk=(x+y)(xk−1−xk−2y+xk−3y2+⋯−xyk−2+yk−1) x^{k}+y^{k}=(x+y)\left(x^{k-1}-x^{k-2} y+x^{k-3} y^{2}+\cdots-x y^{k-2}+y^{k-1}\right)
valid for kk odd, and
xk−yk=(x+y)(xk−1−xk−2y+xk−3y2+⋯+xyk−2−yk−1) x^{k}-y^{k}=(x+y)\left(x^{k-1}-x^{k-2} y+x^{k-3} y^{2}+\cdots+x y^{k-2}-y^{k-1}\right)
valid for kk even. From the first, with x=3,y=1x=3, y=1, we have
3m−1+1=(3+1)(3m−2−3m−3+3m−4−⋯−3+1) 3^{m-1}+1=(3+1)\left(3^{m-2}-3^{m-3}+3^{m-4}-\cdots-3+1\right)
for mm even. Hence 3m−1+13^{m-1}+1 is a multiple of at least 4 when mm is even. Can it be a multiple of 8? No, because in the second parenthesis there is an odd number (m−3)(m-3) of odd terms, so their sum is an odd number.

Similarly, from the second identity we obtain
3m−1−1=(3+1)(3m−2−3m−3+3m−4−⋯+3−1) 3^{m-1}-1=(3+1)\left(3^{m-2}-3^{m-3}+3^{m-4}-\cdots+3-1\right)
that is, 3m−1−13^{m-1}-1 is a multiple of 4 when mm is odd (actually it is also a multiple of 8 because this time there is an even number of terms in the parenthesis, but we will not need this in the proof). Then, since 3m−1+13^{m-1}+1 is a multiple of 4, (3m−1−1=+2=3m−1+1\left(3^{m-1}-1=+2=3^{m-1}+1\right. cannot also be one. Hence 3m−1+13^{m-1}+1 is a multiple of 2 but not of 4 in the case where mm is odd.

To sum up, we have:
- For mm even, 3m−1+13^{m-1}+1 is a multiple of 4 but not of 8, so the solutions are all and only those of the type (m,1),(m,2)(m, 1),(m, 2) and (m,3)(m, 3) (for every even mm)
- For mm odd, 3m−1+13^{m-1}+1 is a multiple of 2 but not of 4, so the solutions are all and only those of the type (m,1)(m, 1) and (m,2)(m, 2) (for every odd mm)

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from it; metadata (topic, difficulty) added by this project.