RMO Mock Paper 2 · IMOolympiad.com · Original practice

6 questions · 180 minutes · Written proofs

Move from finding an answer to explaining a complete argument. State your assumptions, justify the main step and account for every case.

Original independent practice. Use the suggested time for a full attempt; keep hints and solutions closed. Questions are not official RMO questions. No selection or score prediction is implied.

Question 1

For every nonnegative integer nn, determine gcd⁡(n2+2n+3,n2+4n+7)\gcd(n^2+2n+3,n^2+4n+7) explicitly in terms of divisibility conditions on nn.

Hint 1

Set t=n+2t=n+2 and subtract the two expressions.

Hint 2

An odd common divisor must divide both t and 3; inspect powers of 2 separately.

Worked solution 1

Put t=n+2t=n+2. The gcd becomes gcd⁡(t2−2t+3,t2+3)=gcd⁡(t2+3,2t)\gcd(t^2-2t+3,t^2+3)=\gcd(t^2+3,2t). If an odd prime divides both numbers, it divides tt and hence 3; therefore only the odd prime 3 can occur. When 3∣t3\mid t, t2+3t^2+3 is divisible by 3 but not 9. When 3∤t3\nmid t, it is not divisible by 3. If tt is even, t2+3t^2+3 is odd, so no factor 2 occurs. If tt is odd, 2t2t has exactly one factor 2, and t2+3t^2+3 is even, so the gcd has exactly one factor 2. Thus the answer is (2 if n is odd, else 1) (3 if n≡1(mod3), else 1)(2\text{ if }n\text{ is odd, else }1)\,(3\text{ if }n\equiv1\pmod3,\text{ else }1). These factors are coprime, so the description is complete.

Answer / conclusion: Possible gcds 1,2,3,6, with the stated independent factors.

Review the idea: Greatest common divisor · Unique prime factorisation

Question 2

Find all positive integer pairs (x,y)(x,y) satisfying x2+xy+y2=7(x+y)x^2+xy+y^2=7(x+y).

Hint 1

Set s=x+ys=x+y and d=x−yd=x-y.

Hint 2

Use d2=28s−3s2d^2=28s-3s^2, and the fact that ∣d∣≤s−2|d|\le s-2.

Worked solution 2

The equation is symmetric in x,yx,y, and its right side contains their sum. This suggests setting s=x+ys=x+y and d=x−yd=x-y. The identity 3(x+y)2+(x−y)2=4(x2+xy+y2)3(x+y)^2+(x-y)^2=4(x^2+xy+y^2) changes the equation into 3s2+d2=28s,d2=28s−3s2.3s^2+d^2=28s,\qquad d^2=28s-3s^2. Because x,yx,y are positive integers, s≥2s\ge2. Since d2≥0d^2\ge0, we have s(28−3s)≥0s(28-3s)\ge0, so s≤28/3s\le28/3. Thus the integer ss satisfies 2≤s≤92\le s\le9.

Positivity gives another bound: ∣d∣=∣x−y∣=x+y−2min⁡(x,y)≤s−2.|d|=|x-y|=x+y-2\min(x,y)\le s-2. Consequently 28s−3s2=d2≤(s−2)2,28s-3s^2=d^2\le(s-2)^2, which simplifies to s2−8s+1≥0s^2-8s+1\ge0, or (s−4)2≥15(s-4)^2\ge15. Among the integers from 2 to 9, the values 2 through 7 have ∣s−4∣≤3|s-4|\le3, so their squares are at most 9. Only s=8,9s=8,9 remain.

If s=8s=8, then d2=32d^2=32, which lies strictly between 525^2 and 626^2, so no integer dd works. If s=9s=9, then d2=9d^2=9, giving d=3d=3 or −3-3. Recover the original numbers using x=s+d2,y=s−d2.x=\frac{s+d}{2},\qquad y=\frac{s-d}{2}. This gives (x,y)=(6,3)(x,y)=(6,3) or (3,6)(3,6). Finally, 36+18+9=63=7(6+3)36+18+9=63=7(6+3), so both pairs satisfy the original equation.

Answer / conclusion: (3,6) and (6,3).

Review the idea: Symmetric polynomials · Factorisation integer solutions

Question 3

Triangle ABCABC has AB=13AB=13, AC=15AC=15 and BC=14BC=14. The internal bisector of ∠A\angle A meets BCBC at DD. The circle through A,B,DA,B,D meets the segment ACAC again at EE. Find AE:ECAE:EC, justifying that the second intersection lies inside the segment.

Angle-bisector D and second circle intersection EABCDEOriginal construction; the proof does not rely on the drawing.

Hint 1

Find CD using the angle-bisector theorem.

Hint 2

Compute the power of C using the secants CDB and CEA.

Worked solution 3

The angle-bisector theorem gives BD:DC=13:15BD:DC=13:15. Since BC=14BC=14, DC=15/2DC=15/2. The points DD and BB lie on the same ray from CC, so the power of CC is CD⋅CB=(15/2)14=105>0CD\cdot CB=(15/2)14=105>0. The line CACA already meets the circle at AA, with CA=15CA=15. Its other intersection therefore has directed distance CE=105/15=7CE=105/15=7 along the same ray. Since 0<7<150<7<15, it is indeed on the interior of CACA, distinct from AA. Hence AE=15−7=8AE=15-7=8, and AE:EC=8:7AE:EC=8:7.

Answer / conclusion: AE:EC = 8:7.

Review the idea: Parallel lines and angle bisectors · Circles and power of a point

Question 4

The integers 1,2,…,91,2,\ldots,9 are placed once each around a circle. For each position take the sum of that number and its next two neighbours clockwise. Determine the least possible value of the largest of these nine sums.

Hint 1

The nine sums add to 135. If all were 15, compare neighbouring sums.

Hint 2

Try separating the larger numbers by smaller ones, and verify all nine wraparound sums.

Worked solution 4

Let the entries be a1,…,a9a_1,\ldots,a_9, with indices reduced modulo 9. Each entry is included in three sums, so the nine sums total 3(1+⋯+9)=1353(1+\cdots+9)=135. If every sum were at most 15, all would be 15. Subtracting consecutive sums would give ai=ai+3a_i=a_{i+3}, contrary to distinctness. The largest sum is therefore at least 16.

This bound is attained by the clockwise order 1,5,8,2,6,7,3,4,91,5,8,2,6,7,3,4,9. Its nine clockwise sums are 14,15,16,15,16,14,16,14,1514,15,16,15,16,14,16,14,15, all at most 16. Hence the required minimum is 16.

Answer / conclusion: 16; construction [1, 5, 8, 2, 6, 7, 3, 4, 9]

Review the idea: Counting · Proof methods

Question 5

For positive real numbers a,b,ca,b,c, put s=a+b+cs=a+b+c. Prove a2a+2b+b2b+2c+c2c+2a≥s3+2((a−b)2+(b−c)2+(c−a)2)9s.\frac{a^2}{a+2b}+\frac{b^2}{b+2c}+\frac{c^2}{c+2a}\ge\frac{s}{3}+\frac{2\bigl((a-b)^2+(b-c)^2+(c-a)^2\bigr)}{9s}. Determine when equality holds.

Hint 1

Write a=(a+2b)/3+2(a−b)/3a=(a+2b)/3+2(a-b)/3.

Hint 2

After expanding, the linear differences cancel. Each denominator is at most 2s.

Worked solution 5

We separate each fraction into a simple part and a nonnegative correction. Write D=a+2b>0D=a+2b>0, so a=D/3+2(a−b)/3a=D/3+2(a-b)/3. Squaring this identity and dividing by DD gives a2a+2b=a+2b9+4(a−b)9+4(a−b)29(a+2b).\frac{a^2}{a+2b}=\frac{a+2b}{9}+\frac{4(a-b)}9+\frac{4(a-b)^2}{9(a+2b)}. Make the same calculation with (a,b)(a,b) replaced by (b,c)(b,c) and then (c,a)(c,a). Adding the three equations, the linear differences cancel because (a−b)+(b−c)+(c−a)=0(a-b)+(b-c)+(c-a)=0, while the first numerators add to 3s3s. Hence the left side of the required inequality equals s3+49((a−b)2a+2b+(b−c)2b+2c+(c−a)2c+2a).\frac{s}{3}+\frac49\left(\frac{(a-b)^2}{a+2b}+\frac{(b-c)^2}{b+2c}+\frac{(c-a)^2}{c+2a}\right).

Now 2s−(a+2b)=a+2c>02s-(a+2b)=a+2c>0, so 0<a+2b<2s0<a+2b<2s. Taking reciprocals reverses this comparison; multiplying by the nonnegative square (a−b)2(a-b)^2 yields (a−b)2a+2b≥(a−b)22s,\frac{(a-b)^2}{a+2b}\ge\frac{(a-b)^2}{2s}, with equality exactly when a=ba=b. Similarly, 2s−(b+2c)=2a+b>02s-(b+2c)=2a+b>0 and 2s−(c+2a)=2b+c>02s-(c+2a)=2b+c>0, giving the corresponding bounds for the other two fractions. Substituting them proves a2a+2b+b2b+2c+c2c+2a≥s3+2((a−b)2+(b−c)2+(c−a)2)9s.\frac{a^2}{a+2b}+\frac{b^2}{b+2c}+\frac{c^2}{c+2a}\ge\frac{s}{3}+\frac{2\bigl((a-b)^2+(b-c)^2+(c-a)^2\bigr)}{9s}.

If any difference is nonzero, its comparison is strict. Thus equality requires a=b=ca=b=c. Direct substitution shows that these values do give equality.

Answer / conclusion: Equality exactly at a=b=c.

Review the idea: Sum of squares · Cauchy schwarz inequality

Question 6

Prove that x(x−3)(x−6)(x−9)+1x(x-3)(x-6)(x-9)+1 cannot be written as a product of two nonconstant polynomials with integer coefficients.

Hint 1

At each of 0, 3, 6 and 9, an integer factor must have value 1 or −1.

Hint 2

Integer polynomial values at arguments whose difference is divisible by 3 are congruent modulo 3.

Worked solution 6

Suppose P=FGP=FG with nonconstant integer polynomials. Since deg⁡P=4\deg P=4, one factor, say FF, has degree at most 2. At each of 0,3,6,90,3,6,9, PP is 1, so FF has value either 1 or −1-1. All four arguments are congruent modulo 3, so the four values of FF are also congruent modulo 3. But 1 and −1-1 are different residues modulo 3. Thus all four values equal one fixed sign ε\varepsilon. The polynomial F−εF-\varepsilon, of degree at most 2, has four distinct roots; it is identically zero. Then FF is constant, a contradiction. Therefore no such factorisation exists.

Answer / conclusion: Irreducible as a product of nonconstant integer polynomials.

Review the idea: Irreducible polynomials · Remainder and factor theorems

After this paper

Record one idea you missed and one proof or calculation you want to improve. Work through the linked lesson, then try the next paper without hints.

Choose another RMO paper · Find a concept or theorem

Format reference: official RMO programme. Paper content is independently authored practice.