Maths Olympiad Prep

Library / /34 of 43

, 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+2n1 \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+2n1=3(3m1+1)2n1(2+1)=3m1+12n1 \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 3m1+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)(xk1xk2y+xk3y2+xyk2+yk1) 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
xkyk=(x+y)(xk1xk2y+xk3y2++xyk2yk1) 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
3m1+1=(3+1)(3m23m3+3m43+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 3m1+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 (m3)(m-3) of odd terms, so their sum is an odd number.

Similarly, from the second identity we obtain
3m11=(3+1)(3m23m3+3m4+31) 3^{m-1}-1=(3+1)\left(3^{m-2}-3^{m-3}+3^{m-4}-\cdots+3-1\right)
that is, 3m113^{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 3m1+13^{m-1}+1 is a multiple of 4, (3m11=+2=3m1+1\left(3^{m-1}-1=+2=3^{m-1}+1\right. cannot also be one. Hence 3m1+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, 3m1+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, 3m1+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,000 problems in a working order, from AMC 10 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.