AIMO Initial Selection Mock Paper 3 · IMOolympiad.com · Original practice

6 written-solution problems · Two three-problem sessions; confirm timing in your invitation

Invitational selection preparation. These paired sets use the question count in the released 2022 archive. The current organiser overview says 180 minutes per examination, while that archived paper says 240 minutes. We do not treat either as a confirmed duration for your next invitation.

Original independent practice in English. Not an official paper or predicted selection test. Keep hints and solutions closed during your attempt.

How to review your proof

Check that you have used every condition, justified the main idea, covered all cases and stated the conclusion. A different complete proof can also be correct. This is a self-review checklist; written proofs are not automatically marked.

Session 1 · 3 problems · invitation determines timing

Question 1

Define u0=0,u1=1u_0=0,u_1=1 and un+2=3un+1−unu_{n+2}=3u_{n+1}-u_n for n≥0n\ge0. Prove that for positive integers m,nm,n, gcd⁡(um,un)=ugcd⁡(m,n).\gcd(u_m,u_n)=u_{\gcd(m,n)}. Deduce that um∣unu_m\mid u_n exactly when m∣nm\mid n.

Hint 1

First prove that consecutive terms are coprime, and that the positive-index terms are strictly increasing.

Hint 2

Establish um+n=umun+1−um−1unu_{m+n}=u_m u_{n+1}-u_{m-1}u_n, then imitate the Euclidean algorithm on the indices.

Worked solution 1

The terms are positive and strictly increasing from u1=1,u2=3u_1=1,u_2=3: if uj+1>uj≥0u_{j+1}>u_j\ge0, then uj+2=2uj+1+(uj+1−uj)>uj+1u_{j+2}=2u_{j+1}+(u_{j+1}-u_j)>u_{j+1}. Also gcd⁡(uj+1,uj)=gcd⁡(uj,uj−1)\gcd(u_{j+1},u_j)=\gcd(u_j,u_{j-1}) by the recurrence. Repeatedly reducing gives gcd⁡(uj+1,uj)=gcd⁡(1,0)=1\gcd(u_{j+1},u_j)=\gcd(1,0)=1.

For fixed m≥1m\ge1, we claim um+n=umun+1−um−1un(n≥0).\begin{gathered}u_{m+n}=u_m u_{n+1}-u_{m-1}u_n\\(n\ge0).\end{gathered} For n=0n=0 it reads um=umu_m=u_m. For n=1n=1 it is the recurrence um+1=3um−um−1u_{m+1}=3u_m-u_{m-1}. Both sides, as sequences in nn, satisfy the same recurrence; knowing two successive values proves all later values by induction.

Reducing this identity modulo umu_m, and using gcd⁡(um,um−1)=1\gcd(u_m,u_{m-1})=1, gives gcd⁡(um,um+n)=gcd⁡(um,un).\gcd(u_m,u_{m+n})=\gcd(u_m,u_n). The cancellation is legitimate: a common divisor of umu_m and um−1unu_{m-1}u_n divides unu_n, by Bézout’s identity for um,um−1u_m,u_{m-1}.

Consequently, subtracting the smaller index from the larger leaves the gcd of the terms unchanged. Repeating these Euclidean-algorithm steps ends at indices d,0d,0, where d=gcd⁡(m,n)d=\gcd(m,n). Thus gcd⁡(um,un)=gcd⁡(ud,u0)=ud\gcd(u_m,u_n)=\gcd(u_d,u_0)=u_d.

Now um∣unu_m\mid u_n is equivalent to ud=umu_d=u_m. Strict increase on the positive indices makes this equivalent to d=md=m, or m∣nm\mid n. This also covers m=1m=1, since u1=1u_1=1.

Conclusion: The gcd follows the gcd of the indices; uₘ divides uₙ exactly when m divides n.

Question 2

Let d≥1d\ge1, and let PP be a monic polynomial of degree dd with integer coefficients. A positive integer DD divides P(k)P(k) for every integer kk. Prove that D∣d!D\mid d!. Show also that the bound is exact: for each dd, give such a polynomial whose integer values have greatest common divisor d!d!.

Hint 1

Consider the difference ΔP(x)=P(x+1)−P(x)\Delta P(x)=P(x+1)-P(x).

Hint 2

Each difference reduces the degree by one and multiplies the leading coefficient by the old degree. Repeat dd times.

Worked solution 2

Difference bridge. If a polynomial has degree jj and leading coefficient aa, then P(x+1)−P(x)P(x+1)-P(x) has degree j−1j-1 and leading coefficient jaja: the degree-jj terms cancel, and the next term in (x+1)j−xj(x+1)^j-x^j is jxj−1jx^{j-1}.

If DD divides every integer value of PP, it also divides every integer value of ΔP\Delta P, because each is a difference of two multiples of DD. Apply this observation successively dd times. Since the original leading coefficient is 1, the constant polynomial ΔdP\Delta^dP is d!d!. Hence D∣d!D\mid d!.

For sharpness use Q(x)=x(x−1)⋯(x−d+1).Q(x)=x(x-1)\cdots(x-d+1). This is monic of degree dd. If an integer k≥dk\ge d, then Q(k)=d!(kd)Q(k)=d!\binom{k}{d}, so it is divisible by d!d!. For 0≤k<d0\le k<d, one factor is zero. If k=−t<0k=-t<0, then Q(k)=(−1)dt(t+1)⋯(t+d−1)=(−1)dd!(t+d−1d),Q(k)=(-1)^d t(t+1)\cdots(t+d-1)=(-1)^d d!\binom{t+d-1}{d}, again a multiple of d!d!.

Thus d!d! divides every integer value of QQ. Conversely Q(d)=d!Q(d)=d!, so no larger common divisor is possible. Its values have greatest common divisor exactly d!d!.

Conclusion: Every common divisor divides d!, and the falling-factorial polynomial attains d!.

Question 3

A point FF lies strictly inside a triangle ABCABC and satisfies ∠AFB=∠BFC=∠CFA=120∘\angle AFB=\angle BFC=\angle CFA=120^\circ. Prove that FA+FB+FCFA+FB+FC is strictly smaller than QA+QB+QCQA+QB+QC for every point Q≠FQ\ne F in the plane. If a=BC,b=CA,c=ABa=BC,b=CA,c=AB and the triangle area is Δ\Delta, prove also that (FA+FB+FC)2=a2+b2+c2+43 Δ2.(FA+FB+FC)^2=\frac{a^2+b^2+c^2+4\sqrt3\,\Delta}{2}.

A point with three 120-degree anglesF is inside triangle ABC; the rays FA, FB and FC are separated by 120 degrees.120°120°120°FABC

Hint 1

Place F at the origin and FA on the positive horizontal axis. Use the three unit directions separated by 120 degrees.

Hint 2

A distance is at least its signed projection in a chosen unit direction. Add three such inequalities so the coordinates of Q cancel.

Worked solution 3

Write x=FA,y=FB,z=FCx=FA,y=FB,z=FC, all positive. Choose perpendicular coordinates with F=(0,0)F=(0,0), A=(x,0)A=(x,0), B=(−y/2,3y/2)B=(-y/2,\sqrt3y/2), and C=(−z/2,−3z/2)C=(-z/2,-\sqrt3z/2). The angle assumptions justify these coordinates, after reflecting the picture if necessary.

Projection bridge. If r2+s2=1r^2+s^2=1, then ru+sv≤u2+v2ru+sv\le\sqrt{u^2+v^2}, because (u2+v2)−(ru+sv)2=(su−rv)2≥0(u^2+v^2)-(ru+sv)^2=(su-rv)^2\ge0. This remains true when the projection on the left is negative.

For Q=(u,v)Q=(u,v), project the displacement from QQ to each vertex along the corresponding ray from FF. We obtain QA≥x−u,QB≥y+u2−3v2,QC≥z+u2+3v2.\begin{gathered}QA\ge x-u,\\ QB\ge y+\frac u2-\frac{\sqrt3v}{2},\\ QC\ge z+\frac u2+\frac{\sqrt3v}{2}.\end{gathered} Adding gives QA+QB+QC≥x+y+zQA+QB+QC\ge x+y+z. For equality in the first bound, v=0v=0. With v=0v=0, equality in the second projection bound forces u=0u=0, since its perpendicular component is 3u/2\sqrt3u/2. Thus equality is possible only at Q=FQ=F, where it does hold. This proves strict minimality elsewhere.

Using the coordinates already chosen, a2=BC2=(y−z)24+3(y+z)24=y2+yz+z2.a^2=BC^2=\frac{(y-z)^2}{4}+\frac{3(y+z)^2}{4}=y^2+yz+z^2. The other two distance expansions similarly give b2=x2+z2+xzb^2=x^2+z^2+xz and c2=x2+y2+xyc^2=x^2+y^2+xy. Triangle AFB has base FA=x and altitude 3y/2\sqrt3y/2, so its area is 3xy/4\sqrt3xy/4. Rotating the same base-height calculation for the other two triangles and adding gives Δ=3(xy+yz+zx)/4\Delta=\sqrt3(xy+yz+zx)/4. Hence a2+b2+c2+43Δ=2(x2+y2+z2)+4(xy+yz+zx)=2(x+y+z)2.a^2+b^2+c^2+4\sqrt3\Delta=2(x^2+y^2+z^2)+4(xy+yz+zx)=2(x+y+z)^2. This is the second conclusion.

Conclusion: F uniquely minimises the distance sum, whose square is (a²+b²+c²+4√3Δ)/2.

Session 2 · 3 problems · invitation determines timing

Question 4

A simple graph has n≥3n\ge3 vertices, and every vertex has at least n/2n/2 neighbours. Prove that the graph contains a cycle visiting every vertex exactly once. A simple graph has no loops or repeated edges; a path or cycle here does not repeat a vertex, except for the final return of a cycle.

Hint 1

Choose a path with as many vertices as possible. Every neighbour of either endpoint is already on the path.

Hint 2

Compare indices ii for which the first endpoint is joined to vertex i+1i+1, with those for which vertex ii is joined to the last endpoint.

Worked solution 4

First the graph is connected. Indeed, a connected component containing a vertex must contain that vertex and all its at least n/2n/2 neighbours, so it has more than n/2n/2 vertices. There cannot be two such components.

A longest path and two added edges close a cycle by traversing the right part in reversev₁vᵢvᵢ₊₁vkv₂, ……, vk₋₁joining edge v₁—vᵢ₊₁joining edge vᵢ—vk
Follow the left path from v1v_1 to viv_i, take the lower joining edge to vkv_k, return along the right path in reverse, and use the upper edge back to v1v_1. The dashed middle edge is not used. Intermediate path vertices are represented by the dots in the labels.

Choose a longest path v1,v2,…,vkv_1,v_2,\ldots,v_k. Neither endpoint has a neighbour outside the path, since that neighbour would extend it. Within the index set {1,…,k−1}\{1,\ldots,k-1\}, define I={i:v1vi+1 is an edge},J={i:vivk is an edge}.\begin{gathered}I=\{i:v_1v_{i+1}\text{ is an edge}\},\\ J=\{i:v_iv_k\text{ is an edge}\}.\end{gathered} These sets have sizes equal to the degrees of v1,vkv_1,v_k, respectively. Thus ∣I∣+∣J∣≥n≥k|I|+|J|\ge n\ge k. Since there are only k−1k-1 indices available, II and JJ overlap.

For an index ii in the overlap, follow v1,v2,…,vi,vk,vk−1,…,vi+1,v1.v_1,v_2,\ldots,v_i,v_k,v_{k-1},\ldots,v_{i+1},v_1. The two joining edges exist by the choice of ii; every other edge is on the original path. This is a cycle containing all kk path vertices once. The notation also covers i=1i=1 or i=k−1i=k-1, where one of the intervening lists is empty.

If k<nk<n, connectedness supplies an edge from a vertex outside this cycle to one on it: take the first edge entering the cycle along a path from any outside vertex. Start at the outside endpoint, cross that edge, and go around the cycle without closing it. This is a path with k+1k+1 distinct vertices, contradicting maximality. Therefore k=nk=n, and the cycle visits every vertex.

Conclusion: The graph has a cycle through all n vertices.

Question 5

Define P0(x)=xP_0(x)=x and Pr+1(x)=Pr(x)2−2P_{r+1}(x)=P_r(x)^2-2. For n≥1n\ge1, find every real root of PnP_n, prove that all roots are distinct, and find the sum of their squares.

Hint 1

Try substituting x=2cos⁡θx=2\cos\theta, and use the double-angle identity.

Hint 2

All candidate angles lie strictly between 0 and π\pi. Pair angles differing by π/2\pi/2 when summing the squared roots.

Worked solution 5

Trigonometry used here. Angles are measured in radians: a half-turn is π\pi, a quarter-turn is π/2\pi/2. On the unit circle, the point at angle θ\theta has coordinates (cos⁡θ,sin⁡θ)(\cos\theta,\sin\theta), so Pythagoras gives cos⁡2θ+sin⁡2θ=1\cos^2\theta+\sin^2\theta=1. As a point moves along the upper semicircle from angle 0 to π\pi, its horizontal coordinate strictly decreases; hence cosine is strictly decreasing there.

A quarter-turn sends coordinates (u,v)(u,v) to (−v,u)(-v,u), so cos⁡(θ+π/2)=−sin⁡θ\cos(\theta+\pi/2)=-\sin\theta. A rotation through θ\theta sends (u,v)(u,v) to (ucos⁡θ−vsin⁡θ,usin⁡θ+vcos⁡θ)(u\cos\theta-v\sin\theta,u\sin\theta+v\cos\theta): its two unit axes become (cos⁡θ,sin⁡θ)(\cos\theta,\sin\theta) and (−sin⁡θ,cos⁡θ)(-\sin\theta,\cos\theta). Applying this to the point at angle θ\theta gives cos⁡(2θ)=cos⁡2θ−sin⁡2θ=2cos⁡2θ−1\cos(2\theta)=\cos^2\theta-\sin^2\theta=2\cos^2\theta-1. These are the only trigonometric identities needed below.

Unit-circle coordinates define cosine and sine; the projection onto the horizontal axis is cosine(1,0)(−1,0)OP=(cos θ,sin θ)θsin θcos θ
The sketch uses an acute angle; the unit-circle definitions also apply to angles throughout a full turn.

The identity 2cos⁡(2θ)=(2cos⁡θ)2−22\cos(2\theta)=(2\cos\theta)^2-2 gives, by induction, Pn(2cos⁡θ)=2cos⁡(2nθ).P_n(2\cos\theta)=2\cos(2^n\theta). Thus for j=1,…,2nj=1,\ldots,2^n, the numbers xj=2cos⁡((2j−1)π2n+1)x_j=2\cos\left(\frac{(2j-1)\pi}{2^{n+1}}\right) are roots.

Why this list is complete. The angles in the displayed formula are distinct and lie in (0,π)(0,\pi), where cosine is strictly decreasing. So the 2n2^n proposed roots are distinct. Squaring in the recurrence doubles the degree, and its leading coefficient remains 1; hence PnP_n has degree 2n2^n. A nonzero polynomial cannot have more distinct roots than its degree, so these are all roots and every one has multiplicity 1.

Put d=2nd=2^n. For 1≤j≤d/21\le j\le d/2, the angle for xj+d/2x_{j+d/2} is the angle for xjx_j plus π/2\pi/2. The identity cos⁡(θ+π/2)=−sin⁡θ\cos(\theta+\pi/2)=-\sin\theta therefore gives xj2+xj+d/22=4cos⁡2θ+4sin⁡2θ=4.x_j^2+x_{j+d/2}^2=4\cos^2\theta+4\sin^2\theta=4. There are d/2d/2 such pairs, so the sum of all squared roots is 2d=2n+12d=2^{n+1}.

Conclusion: Roots: 2cos((2j−1)π/2ⁿ⁺¹), 1≤j≤2ⁿ; all simple, with square-sum 2ⁿ⁺¹.

Question 6

Let k≥1k\ge1. A subset of {1,2,…,3k}\{1,2,\ldots,3k\} contains no three consecutive integers. Determine its greatest possible size, and count all subsets attaining that size.

Hint 1

Partition the interval into k consecutive blocks of length 3 to get the size bound.

Hint 2

A maximum subset omits exactly k integers. These omissions separate the chosen integers into k+1 runs, each of length at most 2.

Worked solution 6

The kk blocks {1,2,3},{4,5,6},…,{3k−2,3k−1,3k}\{1,2,3\},\{4,5,6\},\ldots,\{3k-2,3k-1,3k\} each contribute at most two selected integers. Hence the size is at most 2k2k. Omitting 3,6,…,3k3,6,\ldots,3k attains 2k2k, so this is the maximum.

Now consider a maximum subset. In its 0–1 record, with 1 for selected and 0 for omitted, there are 2k2k ones and kk zeros. Read the record as k+1k+1 runs of ones separated by the zeros, allowing an empty run at either end or between consecutive zeros. Let their lengths be r0,…,rkr_0,\ldots,r_k. The condition is exactly 0≤ri≤20\le r_i\le2, and their sum is 2k2k.

Set di=2−rid_i=2-r_i. Then every did_i is a nonnegative integer, and d0+⋯+dk=2d_0+\cdots+d_k=2. Either one of the k+1k+1 entries is 2, or two distinct entries are 1. The count is therefore (k+1)+(k+12)=(k+1)(k+2)2.(k+1)+\binom{k+1}{2}=\frac{(k+1)(k+2)}2.

Conversely, every such choice of deficiencies yields run lengths between 0 and 2 and hence exactly one permitted record of length 3k3k. Thus no subset is missed or counted twice.

Conclusion: Maximum size 2k; exactly (k+1)(k+2)/2 maximum subsets.

After this paper

Choose one gap in your proof to repair, study the linked idea, and write a complete solution again before the next mock.

Choose another paper · Check your German selection route

Format reference: official organiser information. Questions and explanations are independent practice material.