INMO Mock Paper 1 · IMOolympiad.com · Original practice

6 questions · 270 minutes · Written proofs

Practise sustained proof work across algebra, number theory, combinatorics and geometry. Allow time to explore, choose a promising representation and turn your ideas into a complete proof.

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

Question 1

A 10×1010\times10 array of real numbers has every row sum and every column sum equal to zero, but at least one entry is nonzero. Prove that some choice of ten entries, one in each row and one in each column, has positive sum, and another such choice has negative sum.

Hint 1

Average the sums over all permutations of the columns.

Hint 2

If every such sum is zero, exchange the chosen columns in two rows to obtain a relation on every 2 by 2 subarray.

Worked solution 1

Write aija_{ij} for the entry in row ii, column jj. For a permitted choice, let π(i)\pi(i) be the column chosen in row ii. The list π(1),…,π(10)\pi(1),\ldots,\pi(10) uses each column number once, so it is a permutation of 1,…,101,\ldots,10.

Each permitted choice corresponds to a permutation π\pi, with sum Sπ=∑iai,π(i)S_\pi=\sum_i a_{i,\pi(i)}. Each entry appears in exactly 9!9! of these sums: after fixing its row and column, the remaining nine columns may be assigned bijectively to the remaining nine rows in 9!9! ways. Hence ∑πSπ=9!∑i,jaij=0\sum_\pi S_\pi=9!\sum_{i,j}a_{ij}=0.

Suppose all these sums were zero. For distinct rows i,ki,k and distinct columns j,lj,l, compare a permutation using (i,j),(k,l)(i,j),(k,l) with the permutation obtained by swapping just those columns. The other eight entries can be chosen bijectively from the remaining rows and columns. Subtraction gives aij+akl=ail+akja_{ij}+a_{kl}=a_{il}+a_{kj}. Fixing row 1 and column 1 yields aij=ai1+a1j−a11a_{ij}=a_{i1}+a_{1j}-a_{11}, also valid if i=1i=1 or j=1j=1. Summing over the ten values of jj gives 0=10ai1+0−10a110=10a_{i1}+0-10a_{11}, since row ii and row 1 both sum to zero. Thus ai1=a11a_{i1}=a_{11}. The first-column sum is then 10a11=010a_{11}=0, so a11=0a_{11}=0. The entry relation reduces to aij=a1ja_{ij}=a_{1j}. Column jj therefore has sum 10a1j=010a_{1j}=0, giving a1j=0a_{1j}=0 and hence every entry zero, contrary to the hypothesis.

Thus not all SπS_\pi are zero. Their total is zero, so at least one is positive and at least one negative.

Answer / conclusion: There are permitted sums of both signs.

Review the idea: Permutations and arrangements · Proof methods

Question 2

Find all positive integers nn for which n2∣2n+1n^2\mid2^n+1.

Hint 1

An admissible n is odd. Examine its smallest prime divisor, then the exact power of 3 in 2n+12^n+1.

Hint 2

For odd n, prove that the exponent of 3 dividing 2n+12^n+1 is one more than the exponent of 3 dividing n. Then examine the next smallest prime divisor.

Worked solution 2

Tool: order modulo a prime. If a prime pp does not divide an integer aa, the order of aa modulo pp is the smallest positive integer dd for which ad≡1(modp)a^d\equiv1\pmod p. Such a dd exists because Fermat gives ap−1≡1a^{p-1}\equiv1. If aN≡1a^N\equiv1, divide the exponent as N=kd+rN=kd+r, 0≤r<d0\le r<d. Then aN≡(ad)kar≡ara^N\equiv(a^d)^ka^r\equiv a^r, so ar≡1a^r\equiv1. Minimality forces r=0r=0. Thus dd divides every exponent giving residue 1, including p−1p-1.

The integers 1 and 3 work. Suppose n>1n>1 satisfies n2∣2n+1n^2\mid2^n+1. It is odd: an even nn would make n2n^2 even, whereas 2n+12^n+1 is odd. Let pp be the least prime divisor of nn, and let dd be the order of 2 modulo pp. Since 2n≡−1(modp)2^n\equiv-1\pmod p, we have d∣2nd\mid2n, but d∤nd\nmid n. Also d∣p−1d\mid p-1. Every prime divisor of nn is at least pp, whereas every prime divisor of p−1p-1 is smaller than pp. Hence gcd⁡(n,p−1)=1\gcd(n,p-1)=1. Because nn is odd and p−1p-1 is even, gcd⁡(2n,p−1)=2\gcd(2n,p-1)=2, so d∣2d\mid2. We cannot have d=1d=1, because 2n2^n is −1-1, not 1, modulo the odd prime pp. Thus d=2d=2, giving p∣22−1=3p\mid2^2-1=3, so p=3p=3.

Write n=3smn=3^s m, where mm is odd and not divisible by 3. Here “exactly ss factors of 3” means divisibility by 3s3^s but not 3s+13^{s+1}. Since m≡1m\equiv1 or 5 modulo 6, the period-six powers of 2 modulo 9 show that 2m+12^m+1 has exactly one factor of 3. If A≡−1(mod3)A\equiv-1\pmod3, write A=−1+3tA=-1+3t. Then A2−A+1=3(1−3t+3t2)A^2-A+1=3(1-3t+3t^2), which has exactly one factor of 3. Applying A3+1=(A+1)(A2−A+1)A^3+1=(A+1)(A^2-A+1) successively ss times proves that 2n+12^n+1 has exactly s+1s+1 factors of 3. Divisibility by n2n^2 requires 2s≤s+12s\le s+1; since 3∣n3\mid n, we obtain s=1s=1.

If nn has another prime divisor, let qq be the smallest one other than 3, and let ee be the order of 2 modulo qq. Again e∣2ne\mid2n and e∣q−1e\mid q-1, while e∤ne\nmid n. Every prime divisor of ee is smaller than qq, so among prime divisors of 2n2n only 2 and 3 are possible. Moreover e∣2ne\mid2n, so it has at most one factor 2 and one factor 3. It cannot be odd: any odd divisor of 2n2n divides nn. Therefore e=2e=2 or 6. If e=2e=2, then 2≡−1(modq)2\equiv-1\pmod q, so 23≡−12^3\equiv-1. If e=6e=6, put z=23z=2^3. We have (z−1)(z+1)≡0(modq)(z-1)(z+1)\equiv0\pmod q, and z≢1z\not\equiv1, since that would give order at most 3. A prime dividing a product divides one factor, so z≡−1z\equiv-1. In either case q∣23+1=9q\mid2^3+1=9, a contradiction. Thus n=3n=3. Including the earlier case n=1n=1, the complete answer is 1,31,3.

Answer / conclusion: n=1 or 3.

Review the idea: Number theory theorems · Unique prime factorisation

Question 3

Let ABCABC be a nondegenerate triangle and 0<t<10<t<1. Choose EE on ACAC and FF on ABAB so that AE/AC=AF/AB=tAE/AC=AF/AB=t. The circles ABEABE and ACFACF meet again at PP. Prove that the line APAP meets BCBC at an interior point DD satisfying BDDC=AB2AC2.\frac{BD}{DC}=\frac{AB^2}{AC^2}. In particular, this line is independent of tt.

Two circles whose second intersection lies on a fixed cevianABCDEFPOriginal construction; the proof does not rely on the drawing.

Hint 1

Put A=(0,0), B=(b,0), C=(u,v). A circle through the origin has equation x2+y2=αx+βyx^2+y^2=\alpha x+\beta y.

Hint 2

Use E and F to find the two circle equations, subtract them, and intersect the resulting line with BC.

Worked solution 3

Coordinate tool. Put A=(0,0)A=(0,0), B=(b,0)B=(b,0), C=(u,v)C=(u,v), where b>0b>0 and v≠0v\ne0. A circle through the origin has an equation x2+y2=αx+βyx^2+y^2=\alpha x+\beta y. Indeed, if its centre is (h,k)(h,k), expand (x−h)2+(y−k)2=h2+k2(x-h)^2+(y-k)^2=h^2+k^2; then α=2h\alpha=2h, β=2k\beta=2k. We will determine these two coefficients from two further points on each circle.

Let s=u2+v2=AC2>0s=u^2+v^2=AC^2>0. The side ratios give E=(tu,tv)E=(tu,tv), F=(tb,0)F=(tb,0). Substituting B,EB,E in the first circle equation and C,FC,F in the second gives, respectively, x2+y2=bx+ts−buvy,x2+y2=tbx+s−tbuvy.x^2+y^2=bx+\frac{ts-bu}{v}y,\qquad x^2+y^2=tbx+\frac{s-tbu}{v}y. Subtract the equations and divide by 1−t≠01-t\ne0. Every common point lies on the line L:bvx=(s+bu)y.L:\quad bvx=(s+bu)y.

We also verify that the second common point is distinct from AA. Points on LL can be written (x,y)=λ(s+bu,bv)(x,y)=\lambda(s+bu,bv). Substituting in the first circle gives λ2((s+bu)2+b2v2)=λb(1+t)s.\lambda^2\bigl((s+bu)^2+b^2v^2\bigr)=\lambda b(1+t)s. The quadratic coefficient is positive, and b(1+t)s>0b(1+t)s>0. Besides λ=0\lambda=0, there is therefore the nonzero root λ=b(1+t)s/((s+bu)2+b2v2)\lambda=b(1+t)s/((s+bu)^2+b^2v^2). This point also satisfies the second circle equation, because it lies on their difference line. Thus the line APAP is exactly LL.

A point on BCBC has coordinates D=(b+ρ(u−b),ρv)D=(b+\rho(u-b),\rho v). When 0<ρ<10<\rho<1, this means moving the fraction ρ=BD/BC\rho=BD/BC of the way from BB to CC. Substitution in LL gives b2=ρ(s+b2)b^2=\rho(s+b^2), so ρ=b2/(s+b2)\rho=b^2/(s+b^2), which is strictly between 0 and 1. Consequently BDDC=ρ1−ρ=b2s=AB2AC2.\frac{BD}{DC}=\frac{\rho}{1-\rho}=\frac{b^2}{s}=\frac{AB^2}{AC^2}. The equation of LL, and hence the line APAP, contains no tt. This proves the requested independence.

Answer / conclusion: The stated squared-side ratio, independent of t.

Review the idea: Circles and power of a point · Triangle area ratios · Trigonometry in geometry

Question 4

Determine the largest real constant KK such that for all positive real numbers a,b,ca,b,c, (a−b)4(a+b)2+(b−c)4(b+c)2+(c−a)4(c+a)2≥K((a−b)2+(b−c)2+(c−a)2)2(a+b+c)2.\frac{(a-b)^4}{(a+b)^2}+\frac{(b-c)^4}{(b+c)^2}+\frac{(c-a)^4}{(c+a)^2}\ge K\frac{\bigl((a-b)^2+(b-c)^2+(c-a)^2\bigr)^2}{(a+b+c)^2}. State when equality holds for this best constant.

Hint 1

Apply Cauchy–Schwarz with the three squared differences in the numerators.

Hint 2

Bound (a+b)2+(b+c)2+(c+a)2(a+b)^2+(b+c)^2+(c+a)^2, and examine (a,b,c)=(1,t,t)(a,b,c)=(1,t,t) as t tends to zero.

Worked solution 4

Put s=a+b+cs=a+b+c and D=(a−b)2+(b−c)2+(c−a)2D=(a-b)^2+(b-c)^2+(c-a)^2. Cauchy–Schwarz in the form ∑Ui2/Vi≥(∑Ui)2/∑Vi\sum U_i^2/V_i\ge(\sum U_i)^2/\sum V_i gives a lower bound D2(a+b)2+(b+c)2+(c+a)2.\frac{D^2}{(a+b)^2+(b+c)^2+(c+a)^2}. The denominator equals s2+a2+b2+c2<2s2s^2+a^2+b^2+c^2<2s^2, since ab+bc+ca>0ab+bc+ca>0. Thus K=1/2K=1/2 works. If D>0D>0, the final comparison is strict; if D=0D=0, all variables are equal and both sides are zero.

To show that a larger constant fails, use (a,b,c)=(1,t,t)(a,b,c)=(1,t,t), with t>0,t≠1t>0,t\ne1. The ratio of the left side to D2/s2D^2/s^2 is (1+2t)2/[2(1+t)2](1+2t)^2/[2(1+t)^2], which tends to 1/21/2 as t→0+t\to0^+. Any larger KK exceeds this ratio for sufficiently small positive tt. Therefore the best constant is 1/21/2, with equality precisely at a=b=ca=b=c.

Answer / conclusion: Best K=1/2; equality exactly at a=b=c.

Review the idea: Cauchy schwarz inequality · Inequality rules and signs

Question 5

Find all real polynomials PP satisfying P(x)P(x+1)=P(x2+x+1)P(x)P(x+1)=P(x^2+x+1) for every real xx.

Hint 1

First prove that a nonconstant solution is monic and has P(0)=1. Compare the equation at x and at −x−1.

Hint 2

Put Q(x)=(-1)^nP(-x), where n is the degree. Eliminate a common factor to obtain P(x)Q(x+2)=Q(x)P(x+2), then compare leading coefficients.

Worked solution 5

The constant solutions are 0 and 1. Let P be a nonconstant solution of degree n with leading coefficient c. Comparing the coefficients of the highest power x2nx^{2n} gives c2=cc^2=c, so c=1: P is monic. Also P(1)≠0P(1)\ne0. Otherwise, a positive root r would produce the larger root r2+r+1r^2+r+1 by the given equation; starting at r=1 would give infinitely many distinct roots, impossible for a nonzero polynomial. At x=0 we therefore get P(0)P(1)=P(1)P(0)P(1)=P(1), hence P(0)=1P(0)=1.

The input x2+x+1x^2+x+1 is unchanged when x is replaced by −x−1-x-1. Put Q(x)=(−1)nP(−x)Q(x)=(-1)^nP(-x), which is also monic of degree n. The two equations imply P(x)P(x+1)=Q(x)Q(x+1)P(x)P(x+1)=Q(x)Q(x+1). Replacing xx by x+1x+1 also gives P(x+1)P(x+2)=Q(x+1)Q(x+2)P(x+1)P(x+2)=Q(x+1)Q(x+2). Multiply the first equation by Q(x+2)Q(x+2) and the second by Q(x)Q(x). Their right sides are identical. Subtraction therefore gives P(x+1)(P(x)Q(x+2)−Q(x)P(x+2))=0.P(x+1)\bigl(P(x)Q(x+2)-Q(x)P(x+2)\bigr)=0. This is a polynomial identity. A product of two nonzero polynomials is nonzero, because its leading coefficient is the product of their nonzero leading coefficients. Since P(x+1)P(x+1) is nonzero, the bracket must vanish: P(x)Q(x+2)=Q(x)P(x+2).P(x)Q(x+2)=Q(x)P(x+2).

We now show Q=P. If R=Q−PR=Q-P were nonzero, its degree d would be less than n, since their leading terms cancel. Write its leading coefficient as k. The last identity becomes P(x)R(x+2)=R(x)P(x+2)P(x)R(x+2)=R(x)P(x+2). Write P(x)=xn+axn−1+lower termsP(x)=x^n+ax^{n-1}+\text{lower terms} and, when d≥1d\ge1, R(x)=kxd+bxd−1+lower termsR(x)=kx^d+bx^{d-1}+\text{lower terms}. If d=0d=0, simply write R(x)=kR(x)=k and take b=0b=0 in the calculation below. The binomial expansion starts (x+2)j=xj+2jxj−1+lower terms(x+2)^j=x^j+2jx^{j-1}+\text{lower terms}. Thus the coefficient of xn+d−1x^{n+d-1} in P(x)R(x+2)P(x)R(x+2) is ak+2dk+bak+2dk+b, while that in R(x)P(x+2)R(x)P(x+2) is ak+2nk+bak+2nk+b. Equality would give 2k(d−n)=02k(d-n)=0, impossible since k is nonzero and d<n. Therefore Q=P.

Evaluating P(−x)=(−1)nP(x)P(-x)=(-1)^nP(x) at zero, where P(0)=1, shows n is even; write n=2m. The polynomial H(x)=(x2+1)mH(x)=(x^2+1)^m satisfies the original identity because (x2+1)((x+1)2+1)=(x2+x+1)2+1.(x^2+1)((x+1)^2+1)=(x^2+x+1)^2+1. Suppose R=P−HR=P-H were nonzero of degree d<n and leading coefficient k. Subtracting the equations for P and H gives R(x)H(x+1)+H(x)R(x+1)+R(x)R(x+1)=R(x2+x+1).R(x)H(x+1)+H(x)R(x+1)+R(x)R(x+1)=R(x^2+x+1). The left side has degree n+d and leading coefficient 2k; the last product has smaller degree 2d. The right side has degree 2d. Since n+d>2d, this is impossible. Hence P=H. Together with the constants, the answer is P=0 or P(x)=(x2+1)mP(x)=(x^2+1)^m for any integer m≥0.

Answer / conclusion: P=0P=0 or P(x)=(x2+1)mP(x)=(x^2+1)^m, where mm is a nonnegative integer.

Review the idea: Polynomial functions · Polynomial roots and multiplicity

Question 6

Nine cards marked +1+1 and six marked −1-1 are placed in any order around a circle, with their 15 positions distinguished. A starting position is called good if each of the 15 clockwise partial sums, beginning there, is strictly positive. Prove that exactly three starting positions are good, regardless of the arrangement.

Hint 1

Cut the circle once and write the prefix sums S0,…,S15S_0,\ldots,S_{15}, where S15=3S_{15}=3.

Hint 2

Let m be the least of S0,…,S14S_0,\ldots,S_{14}. Use the last occurrences of the levels m, m+1 and m+2.

Worked solution 6

After an arbitrary cut, let S0=0S_0=0 and let SjS_j be the sum of the first jj cards. Then S15=3S_{15}=3. A start immediately after position ii has partial sum Sj−SiS_j-S_i when it ends at a later position j>ij>i. If it passes position 15 and ends at j≤ij\le i, its partial sum is (S15−Si)+Sj=3+Sj−Si(S_{15}-S_i)+S_j=3+S_j-S_i. Hence the start is good exactly when all its later heights SjS_j and wrapped heights Sj+3S_j+3 exceed SiS_i. Put m=min⁡(S0,…,S14)m=\min(S_0,\ldots,S_{14}), so m≤0m\le0. Since steps are ±1\pm1 and the path finishes at 3, each level m,m+1,m+2m,m+1,m+2 occurs before the final step. For each level rr, let ii be its last occurrence before position 15, meaning the largest index in 0,…,140,\ldots,14 at which Si=rS_i=r. Every later prefix through S15S_{15} is greater than rr; otherwise the unit-step path would revisit rr before reaching 3. On wrapping around, the corresponding prefixes are Sj+3≥m+3>rS_j+3\ge m+3>r. Thus starting immediately after ii is good.

Conversely, suppose the start after ii is good, and set r=Sir=S_i. It must be the last occurrence of level rr, or a later partial sum would be zero. Also r<m+3r<m+3: if an occurrence of the minimum is after ii, it immediately violates positivity; if all minimum occurrences are before or at ii, their wrapped level m+3m+3 would violate positivity when r≥m+3r\ge m+3. Since r≥mr\ge m, the only choices are m,m+1,m+2m,m+1,m+2. Their last occurrences are distinct, so exactly three starts are good.

Answer / conclusion: Exactly three good starting positions.

Review the idea: Counting with bijections · Pigeonhole principle · Sequences and sums

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 INMO paper · Find a concept or theorem

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