INMO Mock Paper 4 · 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

Find all real polynomials PP such that P(x2)=P(x)2−2x2P(x^2)=P(x)^2-2x^2 for all real xx.

Hint 1

At x=0, the constant term is either 0 or 1.

Hint 2

In each case inspect the lowest nonconstant power. Then subtract a candidate and inspect the lowest power of the difference.

Worked solution 1

At zero, P(0)P(0) is 0 or 1. Constant polynomials cannot satisfy the equation. If P(0)=0P(0)=0, let kxmkx^m be its lowest nonzero term. For m>1m>1, the term −2x2-2x^2 on the right cannot be matched, so m=1. Comparing coefficients of x2x^2 gives k=k2−2k=k^2-2, hence k=2 or −1-1. Write P=kx+QP=kx+Q. If Q is nonzero with lowest degree r≥2r\ge2, cancellation of the known identity for kx gives Q(x2)=2kxQ(x)+Q(x)2Q(x^2)=2kxQ(x)+Q(x)^2. The lowest degree is 2r2r on the left but r+1<2rr+1<2r on the right, impossible. Thus P=2xP=2x or −x-x.

If P(0)=1P(0)=1, its lowest nonconstant degree cannot be 1, since the right side would have a nonzero linear term. It cannot exceed 2, since −2x2-2x^2 would then be unmatched. Thus the lowest term is kx2kx^2, and comparison at degree 2 gives 2k−2=02k-2=0, so k=1. Write P=x2+1+QP=x^2+1+Q, with Q either zero or of lowest degree r>2r>2. The polynomial x2+1x^2+1 already satisfies the identity, so Q(x2)=2(x2+1)Q+Q2Q(x^2)=2(x^2+1)Q+Q^2. The lowest degrees would be 2r2r and r, a contradiction. Hence P=x2+1P=x^2+1. Substitution verifies all three candidates.

Answer / conclusion: P(x)=2x, P(x)=−x, or P(x)=x²+1.

Review the idea: Polynomial functions · Polynomial roots and multiplicity

Question 2

Determine every integer n≥2n\ge2 for which n2n^2 does not divide (n−1)!(n-1)!.

Hint 1

For a prime power pap^a exactly dividing n, count the factors p in the factorial.

Hint 2

The exceptional families include primes and twice a prime. Separate pure prime powers from numbers with another prime divisor.

Worked solution 2

Counting copies of a prime. In a factorial, each multiple of pp contributes at least one factor pp, each multiple of p2p^2 contributes another, and so on. For example, the number of factors 2 in 15!15! is ⌊15/2⌋+⌊15/4⌋+⌊15/8⌋=7+3+1=11\lfloor15/2\rfloor+\lfloor15/4\rfloor+\lfloor15/8\rfloor=7+3+1=11. To prove n2∣(n−1)!n^2\mid(n-1)!, we must show that for every prime power pap^a exactly dividing nn, the factorial contains at least 2a2a factors of pp.

We will use simple growing lower bounds Ba=Cpa−1−1B_a=Cp^{a-1}-1. For p≥2p\ge2, Ba+1=pBa+(p−1)≥2Ba+1B_{a+1}=pB_a+(p-1)\ge2B_a+1. Once Ba≥2aB_a\ge2a holds at a base case a≥1a\ge1, the next value is at least 4a+1≥2(a+1)4a+1\ge2(a+1). Thus a single base check proves the bound for all higher exponents. The five base checks needed below are 2⋅32−1−1=5≥4,3⋅22−1−1=5≥4,52−1−1=4,33−1−1=8≥6,25−1−1=15≥10.2\cdot3^{2-1}-1=5\ge4,\quad3\cdot2^{2-1}-1=5\ge4,\quad5^{2-1}-1=4,\quad3^{3-1}-1=8\ge6,\quad2^{5-1}-1=15\ge10. Increasing pp only increases these lower bounds.

Every prime n fails, because (n−1)!(n-1)! contains no factor n. If n=2pn=2p for a prime p, then for odd p the factorial contains just one multiple of p, whereas n2n^2 needs two; n=4 also fails. Directly, n=8 fails because 7!7! has only four factors of 2, rather than six, and n=9 fails because 8!8! has only two factors of 3, rather than four.

We prove that there are no other failures. Let pap^a exactly divide a remaining composite n. If a=1, write n=pmn=pm. Since n is neither prime nor twice a prime, m≥3m\ge3, so among 1,…,n−11,\ldots,n-1 there are m−1≥2m-1\ge2 multiples of p. If a≥2a\ge2 and n=mpan=mp^a with m>1m>1, then for odd p the number of multiples of p is mpa−1−1≥2pa−1−1≥2amp^{a-1}-1\ge2p^{a-1}-1\ge2a. The last inequality holds at a=2,p=3 and is preserved as a increases. For p=2, m is odd and at least 3, giving m2a−1−1≥3⋅2a−1−1≥2am2^{a-1}-1\ge3\cdot2^{a-1}-1\ge2a.

It remains to consider n=pan=p^a, a≥2a\ge2. For p≥5p\ge5, the pa−1−1p^{a-1}-1 multiples of p already number at least 2a2a, starting at a=2 and increasing thereafter. For p=3, a=2 is the excluded 9, while a≥3 gives 3a−1−1≥2a3^{a-1}-1\ge2a. For p=2, a=2,3 are the excluded 4,8. At a=4, 15!15! has 7+3+1=11≥87+3+1=11\ge8 factors of 2. For a≥5, 2a−1−1≥2a2^{a-1}-1\ge2a. Thus in every remaining case the factorial contains at least 2a2a factors of each prime p dividing n. Therefore it is divisible by n2n^2.

The complete list of failures is every prime, twice every prime, and the two additional integers 8 and 9. The integer 4 is already included as twice the prime 2.

Answer / conclusion: Exactly primes, twice a prime, 8 and 9.

Review the idea: Factorials · Unique prime factorisation

Question 3

Among convex quadrilaterals ABCDABCD with consecutive side lengths AB=3,BC=4,CD=5,DA=6AB=3,BC=4,CD=5,DA=6, determine the greatest possible value of AC⋅BDAC\cdot BD. Prove that the bound is attainable.

A cyclic extremal quadrilateral with consecutive sides 3, 4, 5, 6ABCDOriginal construction; the proof does not rely on the drawing.3456

Hint 1

Identify a point (x,y) with x+iyx+iy, so distances are moduli. Expand (a−c)(b−d)(a-c)(b-d) as a sum of two products and apply the ordinary triangle inequality.

Hint 2

For attainment, put A=(0,0)A=(0,0), C=(L,0)C=(L,0) with L2=247/7L^2=247/7. Solve the distance equations for B above AC and D below AC, then calculate BD.

Worked solution 3

Complex-distance tool. The complex number z=x+iyz=x+iy represents the point (x,y)(x,y), and ∣z∣=x2+y2|z|=\sqrt{x^2+y^2}. Thus ∣a−b∣|a-b| is the distance ABAB. Also ∣zw∣=∣z∣∣w∣|zw|=|z||w|: squaring both sides reduces this to (zw)(zw)‾=(zz‾)(ww‾)(zw)\overline{(zw)}=(z\overline z)(w\overline w). Finally ∣z+w∣≤∣z∣+∣w∣|z+w|\le|z|+|w| is the ordinary triangle inequality for two displacement arrows placed successively; their combined arrow is z+wz+w.

Represent the four vertices by complex numbers a,b,c,da,b,c,d. Direct expansion gives (a−c)(b−d)=(a−b)(c−d)+(a−d)(b−c).(a-c)(b-d)=(a-b)(c-d)+(a-d)(b-c). Taking moduli, using the product rule and then the triangle inequality, gives AC⋅BD≤AB⋅CD+AD⋅BC=3⋅5+6⋅4=39.AC\cdot BD\le AB\cdot CD+AD\cdot BC=3\cdot5+6\cdot4=39.

To prove attainability without assuming an equality case of this inequality, put A=(0,0)A=(0,0), C=(L,0)C=(L,0), where L=1729/7L=\sqrt{1729}/7, so L2=247/7L^2=247/7. The following explicit points give the required side lengths: B=(991729,24101729),D=(1621729,−60101729).B=\left(\frac{99}{\sqrt{1729}},\frac{24\sqrt{10}}{\sqrt{1729}}\right),\qquad D=\left(\frac{162}{\sqrt{1729}},-\frac{60\sqrt{10}}{\sqrt{1729}}\right). For instance, AB2=(992+242⋅10)/1729=9AB^2=(99^2+24^2\cdot10)/1729=9; the same distance calculation gives BC2=16,CD2=25,DA2=36BC^2=16,CD^2=25,DA^2=36. Both horizontal coordinates lie strictly between 0 and LL, and B,DB,D are on opposite sides of ACAC. Therefore the segment BDBD crosses the interior of ACAC, with the crossing also inside BDBD; the quadrilateral in the order A,B,C,DA,B,C,D is convex.

Its other diagonal satisfies BD2=(162−99)2+(6010+2410)21729=632+(8410)21729=745291729=81919.BD^2=\frac{(162-99)^2+(60\sqrt{10}+24\sqrt{10})^2}{1729}=\frac{63^2+(84\sqrt{10})^2}{1729}=\frac{74529}{1729}=\frac{819}{19}. Thus (AC⋅BD)2=(247/7)(819/19)=1521=392(AC\cdot BD)^2=(247/7)(819/19)=1521=39^2. The diagonal lengths are positive, so their product is 39. This attains the upper bound and proves the maximum.

Answer / conclusion: 39.

Review the idea: Complex numbers · Cyclic and tangential quadrilaterals · Triangle inequalities

Question 4

A family F\mathcal F of subsets of a ten-element set has the property that no member is contained in another distinct member. Determine the largest possible size of F\mathcal F, and describe all families of that size.

Hint 1

For each ordering of the ten elements, inspect the chain of its initial segments.

Hint 2

A k-element subset appears as an initial segment in exactly k!(10−k)!k!(10-k)! orderings.

Worked solution 4

Each of the 10!10! permutations supplies the nested chain consisting of its initial segments of sizes 0 through 10. The hypothesis permits at most one member of F\mathcal F on any such chain. A fixed subset S of size k is an initial segment in k!(10−k)!k!(10-k)! permutations: order S first and its complement afterward. Counting pairs of a permutation and a member of F\mathcal F on its chain gives ∑S∈F∣S∣!(10−∣S∣)!≤10!,or∑S∈F1(10∣S∣)≤1.\sum_{S\in\mathcal F}|S|!(10-|S|)!\le10!,\quad\text{or}\quad\sum_{S\in\mathcal F}\frac1{\binom{10}{|S|}}\le1.

The binomial coefficient (10k)\binom{10}{k} has its unique maximum (105)=252\binom{10}{5}=252, as follows by comparing successive ratios (10−k)/(k+1)(10-k)/(k+1). Every summand is therefore at least 1/2521/252, so ∣F∣≤252|\mathcal F|\le252. All 5-element subsets attain the bound. If a family has 252 members, every summand must equal 1/2521/252, so every member has size 5. There are only 252 such subsets, forcing the entire middle layer. This is the unique maximum family.

Answer / conclusion: 252; exactly the family of all 5-element subsets.

Review the idea: Permutations and arrangements · Combinations and binomial coefficients

Question 5

Find all functions f:R→Rf:\mathbb R\to\mathbb R satisfying f(x2+y)=f(x)2+f(y)f(x^2+y)=f(x)^2+f(y) for every pair of real numbers x,yx,y. No continuity or monotonicity is assumed.

Hint 1

First obtain f(0)=0 and nonnegativity on nonnegative inputs.

Hint 2

Show additivity, then derive monotonicity from the equation; rational bounds determine every real value.

Worked solution 5

Putting x=0x=0 gives f(0)2=0f(0)^2=0, so f(0)=0f(0)=0. With y=0y=0, f(x2)=f(x)2≥0f(x^2)=f(x)^2\ge0. Every nonnegative t is a square, so the equation gives f(t+y)=f(t)+f(y)f(t+y)=f(t)+f(y) for every t≥0t\ge0 and real y. Taking y=−ty=-t gives f(−t)=−f(t)f(-t)=-f(t); for t<0t<0, put u=−t>0u=-t>0. The known rule gives f(y)=f(u+(y−u))=f(u)+f(y−u)f(y)=f(u+(y-u))=f(u)+f(y-u). Rearranging and using f(−u)=−f(u)f(-u)=-f(u) yields f(y+t)=f(y)+f(t)f(y+t)=f(y)+f(t), as required for a negative first summand. Thus f is additive on all real numbers.

If u≥vu\ge v, then f(u)−f(v)=f(u−v)≥0f(u)-f(v)=f(u-v)\ge0, so f is nondecreasing. Also f(1)=f(1)2f(1)=f(1)^2, hence f(1)=0f(1)=0 or 1. Additivity implies f(q)=qf(1)f(q)=qf(1) for every rational q, including negative rationals, by multiplying by a positive denominator. Rational numbers exist between any two distinct real numbers. If f(1)=0f(1)=0, choose rationals r<x<sr<x<s; monotonicity gives 0=f(r)≤f(x)≤f(s)=00=f(r)\le f(x)\le f(s)=0, hence f(x)=0f(x)=0. If f(1)=1f(1)=1 and f(x)>xf(x)>x, choose a rational qq strictly between xx and f(x)f(x). Monotonicity would give f(x)≤f(q)=qf(x)\le f(q)=q, contradicting q<f(x)q<f(x). If f(x)<xf(x)<x, choose a rational qq strictly between f(x)f(x) and xx; then q=f(q)≤f(x)q=f(q)\le f(x), again a contradiction. Thus f(x)=xf(x)=x. This uses no continuity assumption. Both functions satisfy the original equation by direct substitution.

Answer / conclusion: f(x)=0 for all x, or f(x)=x for all x.

Review the idea: Solving functional equations · Inequality rules and signs

Question 6

For a positive integer n, let σ(n)\sigma(n) denote the sum of all positive divisors of n. Classify all even positive integers n satisfying σ(n)=2n\sigma(n)=2n. Your classification may use primes of the form 2p−12^p-1, but you must prove the classification in both directions.

Hint 1

Write n=2^a m with m odd and separate its divisors.

Hint 2

If m=(2^{a+1}−1)t, the divisor-sum identity becomes σ(m)=m+t\sigma(m)=m+t. What happens if t>1?

Worked solution 6

Write n=2amn=2^a m, where a≥1a\ge1 and m is odd. Every divisor is uniquely 2jd2^j d, with 0≤j≤a0\le j\le a and d dividing m. Hence (2a+1−1)σ(m)=2a+1m(2^{a+1}-1)\sigma(m)=2^{a+1}m. The odd factor 2a+1−12^{a+1}-1 is coprime to 2a+12^{a+1}, so it divides m. Write m=(2a+1−1)tm=(2^{a+1}-1)t. The equation becomes σ(m)=2a+1t=m+t\sigma(m)=2^{a+1}t=m+t.

If t>1t>1, the three distinct positive divisors 1,t,m1,t,m already have sum 1+t+m>t+m1+t+m>t+m, a contradiction. Thus t=1 and σ(m)=m+1\sigma(m)=m+1, forcing m to be prime: otherwise it would have a divisor strictly between 1 and m. Put p=a+1p=a+1. Then m=2p−1m=2^p-1 is prime. If p were composite, say p=uvp=uv with u,v>1u,v>1, then 2u−12^u-1 would be a proper nontrivial divisor of 2p−12^p-1, impossible. Thus p is prime.

Conversely, whenever 2p−12^p-1 is prime, the integer n=2p−1(2p−1)n=2^{p-1}(2^p-1) has divisor sum (2p−1)(1+2p−1)=2p(2p−1)=2n(2^p-1)(1+2^p-1)=2^p(2^p-1)=2n. These, and only these, are the even solutions.

Answer / conclusion: n=2p−1(2p−1)n=2^{p-1}(2^p-1), where 2p−12^p-1 is prime (and therefore pp is prime).

Review the idea: Counting and summing divisors · Unique prime factorisation

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.